Jump to content

Nameless2you

Members
  • Posts

    351
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Nameless2you

  1. per character or per account..? I'll just make both.. For account, meaning only 1 character in each account can ever get the item prontera,150,150,5 script Reward NPC 99,{ set .@MaxBLevel,255; //Set your servers max base level here. set .@MaxJLevel,70; //Set your servers max job level here. set .@item,501; //Set your reward item here. if (BaseLevel != .@MaxBLevel && JobLevel != .@MaxJLevel && #LReward != 1) end; mes "Congratulations, you've achieve the max level in the server, here's your reward!"; getitem .@item,1; set #LReward,1; close; } For character, meaning if he deletes the character he can get the reward again, or if he uses another character that is max level he can get the item once on that character as well.. prontera,150,150,5 script Reward NPC 99,{ set .@MaxBLevel,255; //Set your servers max base level here. set .@MaxJLevel,70; //Set your servers max job level here. set .@item,501; //Set your reward item here. if (BaseLevel != .@MaxBLevel && JobLevel != .@MaxJLevel && LReward != 1) end; mes "Congratulations, you've achieve the max level in the server, here's your reward!"; getitem .@item,1; set LReward,1; close; }
  2. Try something like this for the rewarder.. prontera,150,150,5 script Reward NPC 99,{ set .@MaxBLevel,255; //Set your servers max base level here. set .@MaxJLevel,70; //Set your servers max job level here. set .@item,501; //Set your reward item here. if (BaseLevel != .@MaxBLevel && JobLevel != .@MaxJLevel) end; mes "Congratulations, you've achieve the max level in the server, here's your reward!"; getitem .@item,1; close; } prontera,155,155,5 script Warpsome 99,{ if(BaseLevel >= 99){ warp "prontera",0,0; } end; }
  3. What is the "announce" variable supposed to do..? because I can't see any "announce" other than you putting that variable into the callsub command.. structure: callsub <label>{,<argument>,...<argument>}; My first try would be removing all ,"announce" saving and testing it.. I highly doubt it's what the guy above me said.. considering it's a map-server error not a client gravity error or some entity..
  4. Well of course it doesn't work if you're using eAthena that's why I asked if you're using rAthena.. ._. The scripts I gave would only be compatible or at least the getgroupid are only compatible with rA Are you getting any error in the mapserver when the script loads..?
  5. You really should've learned by now to give more information when requesting something.. how come you still haven't learned that part yet..? =/ Also if this donation npc is supposed to be connected to your fluxcp, there already is one (that is if you use fluxcp) we don't know the variables you use or want to use.. For the quest npc we don't know what items it should give, take, request, require what steps it should go to and what not.. I can give you a npc where when you click it it will announce the above text but that's not a quest.. there you go, if you click it it will announce your message prontera,150,150,5<tab>script<tab>QuestAnnounce<tab>99,{ announce ""+strcharinfo(0)+" has finished the god quest",0; end; }
  6. Using rathena? remember please that getgmlevel no longer exists and it's getgroupid Make sure you fill out the <tab> with real tabs -<tab>script<tab>Sample<tab>-1,{ OnPCLoginEvent: if(getgroupid() < 60) { atcommand "@option 2"; mes "Please Red Colour Key in the Code..."; set .Code,rand(1000,99999); mes "^0000FF"+rand(1000,99999)+"^FF0000"+.Code+"^0000FF"+rand(1000,99999)+"^000000"; input @Code; if( @Code != .Code ){ atcommand "@kick "+strcharinfo(0); }else{ atcommand "@option 0"; } end; } I would however suggest using this: http://upaste.me/d80418572bc6374 Because with the script inside the codebox the red colored text is always in the middle.. with the one in the link I gave you it's either left, middle or right side, changes it up a bit.
  7. rathena doesn't use getgmlevel use getgroupid I suggest using the one below if you're only intending to use this on 1 map. Give this one a try: - script gmstats -1,{ OnPcLoadMapEvent: if(strcharinfo(3) == "prontera" && getgroupid >= 99){ // Change map to what ever it is, probably your quiz bonus bAllStats,30000; } end; } //Change map below else the above won't work prontera mapflag loadevent
  8. Try replacing the || with && modified the above url's paste as well to fit the fix
  9. Well considering waitingroom don't you have the npc that leads to the waitingroom? Just modify those two npc's to not let anybody to the waitingroom who's not level 99 and not trans that's pretty simple.. if( BaseLevel != 99 || (Class >= 4001 && Class <= 4022)) goto L_Requirement; L_Requirement: mes "Sorry but you don't meet the specified requirements"; close;
  10. Please read the syntax of announce: http://rathena.org/wiki/announce
  11. Well you could try however I don't know if this'll work this: 30005,OMG_Weapon,OMG Weapon,4,1,,1,10,,1,0,0xFFFFFFFF,7,2,2,1,1,0,1,{},{while(1){misceffect 31; sleep2 2000;}},{end;},{} but this here, your first script should work just fine: 30005,OMG_Weapon,OMG Weapon,4,1,,1,10,,1,0,0xFFFFFFFF,7,2,2,1,1,0,1,{},{set @w, 1; while(@w == 1){misceffect 31; sleep2 2000;}},{set @w,2;},{} http://rathena.org/wiki/while for more info
  12. Sorry about that small typo I updated the paste, same link
  13. It's not suggestible to loop things but here's an example.. 30005,OMG_Weapon,OMG Weapon,4,1,,1,10,,1,0,0xFFFFFFFF,7,2,2,1,1,0,1,{ while(1) { misceffect 31; sleep2 1000; } },{},{} I didn't test it so I don't know if it actually works.. but it theoretically should considering there is no indicator for 1
  14. If you do some source editing it might work, although they might also be hard coded into the client..
  15. That's because the item type is 0.. you have to change it to 2 Also don't forgot the ,{},{} after your 1, 100) }
  16. For the next time I suggest using wiki to learn about the time such as OnTimer or gettime. http://upaste.me/c9b116187a2145d should work 1 thing you should also remember though is that it won't work even if you pm the npc on saturday or sunday, it will only work on monday-friday.
  17. Max level by default is 150, set in src/map/map.h You have to change it there and recompile your server. it's called #define MAX_LEVEL
  18. Try this: http://upaste.me/386c160ed622f78 Loaded in mapserver and had no errors You still need to add the map names though..
  19. 1% != 100%, try setting the drop rate to 100% and check if the monster drops the card.. Killing 100 porings doesn't mean you'll get 1 poring card on the 100th monster that's now how the system works..
  20. Or figure out how to enable/disable certain commands on certain maps which is rather bothersome. I highly suggest tr0n's method
  21. @save is a gm command of course they can use it there..
  22. Try this.. I didn't test it though http://upaste.me/67ad15918b9cdd9
  23. Why won't you use the search function D: or google.. *cries* http://upaste.me/cc2215430dc7a4d
  24. Check the script requests only a couple of days ago there were a some people asking for it, it's already been answered, or use the search feature of the forum.
×
×
  • Create New...