Chojiros Blog

June 24, 2006

Fishing Script

'This is a different version of the mining script (barely). This is for 4 fishing rods.........Exp script in here. I assure you this works too -_-

'FISHING

Dim DropChance2
If Mid(GetPlayerStringCommand(Index), 1, 5) = "/fish" Then
If GetPlayerMap(Index) = [Map] Then
Select Case GetPlayerInvItemNum(Index, GetPlayerWeaponSlot(Index))

Case [LowestRodNum]:
DropChance2 = Int(Rnd * 100)
If DropChance2 > 70 Then
Call GiveItem(Index, [FishItemNum], 1)
Call PlayerMsg(Index, "You have gained 400 experience!", 6)
Call SetPlayerEXP(Index, GetPlayerEXP(Index) + 400)
Call CheckPlayerLevelUp(Index)
Call PlayerMsg(Index, "You caught a ____!!", 6)
Else Call PlayerMsg(Index, "Looks like nothing is biting...", 12)
End If
Call SetPlayerInvItemDur(Index, GetPlayerWeaponSlot(Index), GetPlayerInvItemDur(Index, GetPlayerWeaponSlot(Index)) - 1)
If GetPlayerInvItemDur(Index, GetPlayerWeaponSlot(Index)) <= 0 Then
Call PlayerMsg(Index, "Your fishing rod has broken!!", 14)
Call TakeItem(Index, GetPlayerWeaponSlot(Index), 1)
Call SetPlayerWeaponSlot(Index, 0)
End If

Case [LowRodNum]:
DropChance2 = Int(Rnd * 100)
If DropChance2 > 58 Then
Call GiveItem(Index, [FishItemNum], 1)
Call PlayerMsg(Index, "You have gained 700 experience!", 6)
Call SetPlayerEXP(Index, GetPlayerEXP(Index) + 700)
Call CheckPlayerLevelUp(Index)
Call PlayerMsg(Index, "You caught a ____!!", 6)
Else Call PlayerMsg(Index, "Looks like nothing is biting...", 12)
End If
Call SetPlayerInvItemDur(Index, GetPlayerWeaponSlot(Index), GetPlayerInvItemDur(Index, GetPlayerWeaponSlot(Index)) - 1)
If GetPlayerInvItemDur(Index, GetPlayerWeaponSlot(Index)) <= 0 Then
Call PlayerMsg(Index, "Your fishing rod has broken!!", 14)
Call TakeItem(Index, GetPlayerWeaponSlot(Index), 1)
Call SetPlayerWeaponSlot(Index, 0)
End If

Case [HighRodNum]:
DropChance2 = Int(Rnd * 100)
If DropChance2 > 46 Then
Call GiveItem(Index, [FishItemNum], 1)
Call PlayerMsg(Index, "You have gained 1200 experience!", 6)
Call SetPlayerEXP(Index, GetPlayerEXP(Index) + 1200)
Call CheckPlayerLevelUp(Index)
Call PlayerMsg(Index, "You caught a ____!!", 6)
Else Call PlayerMsg(Index, "Looks like nothing is biting...", 12)
End If
Call SetPlayerInvItemDur(Index, GetPlayerWeaponSlot(Index), GetPlayerInvItemDur(Index, GetPlayerWeaponSlot(Index)) - 1)
If GetPlayerInvItemDur(Index, GetPlayerWeaponSlot(Index)) <= 0 Then
Call PlayerMsg(Index, "Your fishing rod has broken!!", 14)
Call TakeItem(Index, GetPlayerWeaponSlot(Index), 1)
Call SetPlayerWeaponSlot(Index, 0)
End If

Case [HighestRodNum]:
DropChance2 = Int(Rnd * 100)
If DropChance2 > 34 Then
Call GiveItem(Index, [FishItemNum], 1)
Call PlayerMsg(Index, "You have gained 2000 experience!", 6)
Call SetPlayerEXP(Index, GetPlayerEXP(Index) + 2000)
Call CheckPlayerLevelUp(Index)
Call PlayerMsg(Index, "You caught a ____!!", 6)
Else Call PlayerMsg(Index, "Looks like nothing is biting...", 12)
End If
Call SetPlayerInvItemDur(Index, GetPlayerWeaponSlot(Index), GetPlayerInvItemDur(Index, GetPlayerWeaponSlot(Index)) - 1)
If GetPlayerInvItemDur(Index, GetPlayerWeaponSlot(Index)) <= 0 Then
Call PlayerMsg(Index, "Your fishing rod has broken!!", 14)
Call TakeItem(Index, GetPlayerWeaponSlot(Index), 1)
Call SetPlayerWeaponSlot(Index, 0)
End If
End Select
End If
End If

June 23, 2006

ANIME!!

OMG, I just finished watching DN Angel today...it is awesome. You MUST watch it!!
http://www.keiichianimeforever.com/anime/onlineanime/series.html/en/dnangel

www.youtube.com is a great place to find anime uploaded by people ^_^ It's all stream, no downloading (God who wouldn't know...). Bleach, Gundam Wing, Loveless and Escaflowne are pretty good animes...Forget shit like DBZ.