Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    408

Everything posted by Emistry

  1. just some advise to script this.... make use of the Quest Log system to make you script this easier... ========================= |8.- Quest Log commands.| ========================= --------------------------------------- *setquest <ID>; Place quest of <ID> in the users quest log, the state of which is "active". --------------------------------------- *completequest <ID>; Change the state for the given quest <ID> to "complete" and remove from the users quest log. --------------------------------------- *erasequest <ID>; Remove the quest of the given <ID> from the user's quest log. --------------------------------------- *changequest <ID>,<ID2>; Remove quest of the given <ID> from the user's quest log. Add quest of the <ID2> to the the quest log, and the state is "active". --------------------------------------- *checkquest(<ID>{,PLAYTIME|HUNTING}) If no additional argument supplied, return the state of the quest: -1 = Quest not started (not in quest log) 0 = Quest has been given, but the state is "inactive" 1 = Quest has been given, and the state is "active" 2 = Quest completed If parameter "PLAYTIME" is supplied: -1 = Quest not started (not in quest log) 0 = the time limit has not yet been reached 1 = the time limit has not been reached but the quest is marked as complete 2 = the time limit has been reached If parameter "HUNTING" is supplied: -1 = Quest not started (not in quest log) 0 = you haven't killed all of the target monsters and the time limit has not been reached. 1 = you haven't killed all of the target monsters but the time limit has been reached. 2 = you've killed all of the target monsters --------------------------------------- *showevent <state>, <colo; Show a colored mark in the mini-map like "viewpoint" and an emotion on top of a NPC. This is used to indicate that a NPC has a quest or an event to certain player/s. state can be: 0 = disable ( Used to disable and remove the mark and the emotion from the NPC. ) 1 = exclamation emotion ( Used to show an important quest event to certain player. ) 2 = interrogation emotion ( Used to show an non-important quest event to certain player. ) Other value may cause client crashes. color can be: 0 = yellow 1 = orange 2 = green 3 = blue other values show a transparent mark in the mini-map. ---------------------------------------- erm....you can script it in this way.. For Example : first npc..give the quest to Player.. setquest <ID>; second npc...check at the 1st quest... checkquest(<ID>{,PLAYTIME|HUNTING}) the quest state is listed at above...and must specify "HUNTING" if player completed the quest...erase it / set it completed. then assign the 2nd quest... and this process keep the same going on 3rd , 4th, 5th NPC.
  2. first script... find this setarray .MonsterList[0],1934,1935,1936; add above OnMinute00: find this npctalk "[ "+strcharinfo(0)+" ] , You're Correct."; add below getitem 674,10; second script.. it is already an automated script. OnCock - Certain Hour you specified. OnMinute - every x-th minute of the hours.
  3. you can try this.. [ Pastebin ] Disable Homunculus in 1 Map
  4. since you post at script release section...i assume you looking for a script to make a custom rate.. then you can try it in this way..... remove the Card from the Monster in the mob_db.txt then load this script [ Pastebin ] Custom Item Rate you can add as many as you want.. but do not add more than hundred i think there is still a limit.. // CustomRateCard( <MobID>,<CardID>,<Rate> ); // Rate : 1 = 0.01% / 1000 = 10% / 10000 = 100% Item Drop Rate wont be shown using @mi since the database has been edited..and @mi only read from the mob_db.txt and please do let me know if you found the limit.... Re-Edit : Update Announce Problem
  5. you can try like this for the bonus if( Class == 0 ) bonus bAllStats,20; else if( Class > 0 && Class <= 6 ) bonus bAllStats,15; else if( Class > 6 && Class <= 20 ) bonus bAllStats,10; else if( Upper == 1 ) bonus bAllStats,5; else end;
  6. try remove the neoncube recorded file ? neoncube.exe.manefest neoncube.file or... change the patch number to larger value.... for example change 1 GRF 9th-March-2012-gm1-Greed.gpf to 2 GRF 9th-March-2012-gm1-Greed.gpf or etc... every time you update using neoncube..the file will record the patch number. so that it wont patch the same file again and again during your next update...
  7. try this [ Pastebin ] AntiBot in 1 Map and yes...what arcencial said is true.... no script can anti bot perfectly...
  8. no need to do any source mod modification... just add the mapflag is enough.. conf/mapflag/novending.txt you can either choose to add at there..or at NPC script.. edit at conf/mapflag/novending.txt require you to restart server. if add as npc script...then you remember to add the npc file path...or else it wont take effect after your next reboot.
  9. You can check my post...perhap it might suit you if you interest with it.. Emistry's Script Collection Quest : Chained Quest Template Dynamic Shop : Multi Currency Shop
  10. you can do it like this ........{},{ if( getgmlevel() < 80 ) nude; },{} or ........{},{ if( getgmlevel() < 80 ) unequip <equipment slot>; },{} for untradeable... do it like what tron said.. the configuration explaination has been listed inside the db/item_notrade.txt
  11. Emistry

    @go command

    @tron.. ur guide missed this step src/common/mapindex.h #define MAP_MAPNAME "mapname"] and this } else if (strncmp(map_name, "<mapname>", <number of characters required>) == 0) { town = 26; @TS read the Wiki that provided by Eurydice... and make sure you recompile your emulator upon editing..
  12. Hmm ? about the Discount Skill Problem... i have tested it...and it didnt apply any Discount on the Price... even though it show the discounted price at the shop...but they cant buy using the discounted price... and what's the problem with the dispbottom message ?? and ya...a screenshot / method on how to duplicate your problem would be better.. and yet...alway update the script to newest when i did update it.
  13. it can be activate by your GM by clicking on the npc HiddenNpc ...but you have to change the NPC sprite into a visible Sprite.. and if you want to disable hourly start.. then remove the OnMinute07..
  14. perhap it is some npc script you have added before?? maybe some function named KDR ??
  15. erm.. i tguess he try to refer to why his job level is much more easier to lvl up when compared with base level.. if i was right... then he is asking why Job Level already 10..but Base Level only 3... @TS please clarify your questions...
  16. every single edit in SRC file you must recompile your emulator using visual studio c++ or any other compiler you have. check wiki on how to compile if you dont know how.
  17. you can just remove it from the item_db.txt then the item will turn out into an "Apple" if i was right xD guess..player wont keep apple haha anyway..there is still alternate way to do this.. use SQL script..
×
×
  • Create New...