Jump to content

SlashGeeGee

Members
  • Posts

    573
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by SlashGeeGee

  1. Hi rAthena I found Joseph's banker script here in the forum but when I use it Ingame errors keeps appearing. here it is. Error: Script : //===== rAthena Script ======================================= //= The Billion Banker //===== By: ================================================== //= Joseph //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena SVN, r15039+ //===== Description: ========================================= //= Withdraw and deposit large amount of Zeny //===== Additional Comments: ================================= //= 1.0 - Released! //============================================================ prontera,149,190,5 script Banker 503,{ function FailMessage; function Transaction; function Display; // == Configurations ========================================= set .@mz, 2000000000; // Server Max Zeny (Default: 1000000000) set .@n$, "[banker]"; // NPC Name // =========================================================== mes .@n$; mes "Greetings!"; mes "How can I help you?"; mes " "; mes "Balance: " + Display(#savings); set .@menu$, "Withdraw:Deposit"; set .@j, select ( .@menu$ ) - 1; explode(.@menu$,.@menu$,":"); next; mes .@n$; mes "How much would you like to " + .@menu$[.@j] + "?"; input .@amt,0,.@mz; if ( .@amt == 0 ) { next; mes .@n$; mes "^FF0000Invalid input...^000000"; close; } next; mes .@n$; mes .@menu$[.@j] + ": " + Display(.@amt); mes " "; mes (.@j!=2)?"Would you like to proceed?":"Thank you!"; if ( select ( "Yes:No" ) == 2 ) close; next; mes .@n$; if ( FailMessage(.@j,.@amt,.@mz) != "" ) { mes "^FF0000" +@msg$+ "^000000"; set @msg$, ""; close; } Transaction(.@j,.@amt); mes .@menu$[.@j] + " successful!"; close; function FailMessage { switch (getarg(0)) { Case 0: // Withdraw if ( getarg(2) < (Zeny + getarg(1)) ) set @msg$, "You can't hold that much Zeny."; if ( #savings < getarg(1) ) set @msg$, "You have insufficient amount of Zeny in your bank account."; break; Case 1: // Deposit if ( Zeny < getarg(1) ) set @msg$, "You have insufficient amount of Zeny on hand."; break; } return @msg$; } function Transaction { switch (getarg(0)) { Case 0: // Withdraw set Zeny, Zeny + getarg(1); set #savings, #savings - getarg(1); break; Case 1: // Deposit set Zeny, Zeny - getarg(1); set #savings, #savings + getarg(1); break; } return; } function Display { set .@d$, getarg(0); for ( set .@i, getstrlen(getarg(0)) - 3; .@i > 0; set .@i, .@i - 3 ) set .@d$, insertchar(.@d$,",",.@i); set .@d$, "^0000FF" +.@d$+ "^000000 z"; return .@d$; } } Please Help me Fix It. Thanks in Advance ! SlashGeeGee
  2. OnMobKillLabel: getmapxy( .@Map$,.@X,.@Y,0 ); makeitem 969,10,.@Map$,.@X,.@Y; end; *makeitem <item id>,<amount>,"<map name>",<X>,<Y>; *makeitem "<item name>",<amount>,"<map name>",<X>,<Y>; This command will create an item lying around on a specified map in the specified location. itemid - Found in 'db/item_db.txt' amount - Amount you want produced map name - The map name X - The X coordinate Y - The Y coordinate. This item will still disappear just like any other dropped item. Like 'getitem', it also accepts an 'english name' field from the database and creates apples if the name isn't found. If the map name is given as "this", the map the invoking character is on will be used. Thanks ! Problem Solved
  3. Monster's can't drop many items like I want 969 Gold to be Dropping 10pcs. on the floor.
  4. is this script correct ? - script 300_Monster_Prize -1,{ OnNPCkillEvent: setarray .@chamonid5[0],1324,1337,1329,1946,1938; for( set .@i,0; .@i < getarraysize(.@chamonid5); set .@i,.@i +1 ) { if(killedrid != .@chamonid5[.@i]) end;} getmapxy(@m$,@x,@y,0); makeitem 969,50,@m$,@x,@y; end; } BUMP !
  5. nice design gaypuff , can you also make me one ? my server's name is "Play Ragnarok Online". Thanks in Advance SlashGeeGee
  6. Hello rA Could someone help me edit the "Your RO Online" Text to my RO's text which is "Play Ragnarok Online", any font will do as long as it's cool Here's the PSD File : splash.psd Thanks in Advance SlashGeeGee BUMP Anyone ?
  7. Hi there I applied the patch and i got lot's of errors when compiling. here it is 3>c:\ragnarok files\rathena\src\char\inter.c(740): error C2181: illegal else without matching if 1>c:\ragnarok files\rathena\src\map\clif.c(5536): error C2084: function 'void clif_TradingChatMessage(const char *)' already has a body 1> c:\ragnarok files\rathena\src\map\clif.h(565) : see previous definition of 'clif_TradingChatMessage' 3>c:\ragnarok files\rathena\src\char\inter.c(742): error C2181: illegal else without matching if how to fix these errors ? SlashGeeGee
  8. I need it for the player to not move.
  9. I solved the problem when i removed all the next; before the sleep part , but how to add a msg box that has next and next.
  10. Hello rA Can someone fix my script it shows this error then my character cannot moved and the msg box cannot be closed. Error: Script: mes .@t$; mes "Hello would you like to start the tour on Play Ragnarok Online ?"; mes " "; if (select("Yes, start the tour!:No thanks i'm fine.")==1) { warp "prontera",156,174; mes "Alright We'll Start!!!"; sleep2 2000; mes .@t$; mes "Play Ragnarok Online is a Pure Balanced Server"; mes "It is made for you to enjoy ragnarok online by this server."; next; mes .@t$; mes "Server Rates :"; mes "Base and Job Experience : 3000x / 3000x"; mes "99 / 70, Transcendent Classes Only"; next; mes .@t$; mes "Normal Card Drop Rates: 30%"; mes "Boss Card Drop Rates: 5%"; dispbottom "Tour Guide : Remember MVP Special Drop : Proof of Donation 1% , don't forget to use @mobsearch."; dispbottom "Tour Guide : Happy Hunting !"; cutin "kafra_09",2; sleep2 15000; // 15 seconds warp "prontera",163,175; mes .@t$; mes "This is our very own Chess Warper if your bored in hunting and PvP you can play chess with your friends."; dispbottom "Tour Guide : Good Luck on Playing Chess !"; cutin "kafra_09",2; sleep2 5000; warp "prontera",171,185; mes .@t$; mes "This is the Play Ragnarok Online Cash Shop there are lot's of cool stuff you want to buy there."; cutin "kafra_09",2; sleep2 5000; warp "prontera",166,194; mes .@t$; mes "Moving On........."; next; mes .@t$; mes "This is the WoE Information you can check WoE Time Schedules and Castle Owners."; dispbottom "Tour Guide : Remember that Emperium's Health is already 1,000,000 be sure to break it."; cutin "kafra_09",2; sleep2 10000; warp "prontera",159,188; mes .@t$; mes "Beside you is Bob you can check all your achievements here and what you have not achieved yet."; dispbottom "Tour Guide : Achievement Points can be used in the pRO Cash Shop."; cutin "kafra_09",2; sleep2 5000; warp "prontera",131,193; mes .@t$; mes "This is Old Man here is the Race of the Day."; next; mes .@t$; mes "You can check what Race is On for the Day then you kill the race and get bonuses."; dispbottom "Tour Guide : Race of the Day is a System which you kill a race and earn EXP,Zeny & Items."; cutin "kafra_09",2; sleep2 10000; warp "prontera",143,174; mes .@t$; mes "This is the Real Estate Agent."; mes "this is where you talk and negotiate on how to buy a house and everything."; dispbottom "Tour Guide : Remember to keep your house clean always."; cutin "kafra_09",2; sleep2 5000; warp "prontera",137,171; mes .@t$; mes "Lastly This is the 300 Monster Challenge Instance."; mes "Take on the Challenge and see what's beyond."; dispbottom "Tour Guide : George will be the one to guide you there."; cutin "kafra_09",2; sleep2 10000; // etc. warp "prontera",156,174; sleep2 1000; mes .@t$; mes "That's All Thank You Hope You Enjoy the Tour Good Luck Have Fun !"; dispbottom "Tour Guide : If you need help just search for PlayRO GM Team."; cutin "kafra_09",2; sleep2 10000; } cutin "kafra_09",255; close; Thanks in Advance SlashGeeGee
  11. read my first post , i said i want to make my script to add more monsters to it.
  12. yeah but my problem is there is 5 treasure boxes and my script has one only.
  13. Hello rA Ok I have this Instance the 300 Monster Challenge and after it's completed a treasure chest will spawn the mob_db cannot drop 1 pc of item when it's killed so I made it this way : - script 300_Monster_Prize -1,{ OnNPCkillEvent: if(killedrid!=1324){ end;} getmapxy(@m$,@x,@y,0); getitem 969,50,@m$,@x,@y; end; } so how can i make it to many monsters I mean the monster ID 1324 because there are 5 treasure chest in the instance that will randomly spawn. //= Treasure - Mob ID setarray .@chamonid5[0],1337,1329,1946,1938; Need Help SlashGeeGee
  14. Try Euphy's Item Rewards : http://pastebin.com/raw.php?i=wTG07rbs
  15. Hello rA I've applied few source mods then updated my rAthena server files then I got these errors when i compile : 1>c:\ragnarok files\rathena\src\map\atcommand.c(1999): error C2059: syntax error : '<<' 1>c:\ragnarok files\rathena\src\map\atcommand.c(2029): warning C4034: sizeof returns 0 1>c:\ragnarok files\rathena\src\map\atcommand.c(2139): warning C4034: sizeof returns 0 here's my atcommand.c: http://www.mediafire.com/?j92wgq37375e403 Please Help me SlashGeeGee
  16. Still not working when I start the Client the fog is still on yet I turned it off also with aura and BGM. Look at My RO Folder : my client is diffed using Read Data Folder First, does it work ?
  17. I didn't include HKLM diff while diffing my new cient also the read data folder first. i got lua errors , my client run on korean.
×
×
  • Create New...