Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    408

Everything posted by Emistry

  1. you need a 2016 client if i recall correctly.
  2. decompile it into lua file then you will be able to open and read it in notepad.
  3. try https://pastebin.com/epJU89Um
  4. Disable renewal config and recompile. src/config/renewal.h#L6-L8
  5. I dont think it could fully support the MSSQL. the emulator are written to support Oracle SQL.
  6. recheck all the custom entry of your quest LUB files. make sure all the quest info are configured correctly in these LUB files.
  7. https://github.com/rathena/rathena/blob/master/db/const.txt
  8. you didnt update the server database. https://github.com/rathena/rathena/blob/master/sql-files/upgrades/upgrade_20140627.sql
  9. find that duplicated constant 4_RUS_WOLF and remove the one that assigned with wrong value.
  10. you need to manually resolve all the conflicts .... <<<<<<< Updated upstream ======= >>>>>>> 9910478ce2be160492d2cd072d906d1365de5113 ======= these shouldn't exist
  11. the inventory_db variable aren't declared/initialized.
  12. use this script command https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L3215-L3221 OnInit: setmapflag "prtg_cas01",mf_loadevent; end; OnPCLoadMapEvent: .@map$ = strcharinfo(3); if ( getmapflag( .@map$,mf_gvg_castle ) ) { if ( getmapguildusers( .@map$, getcharid(2) ) > 15 ) { mes "max member reached. warp back to savepoint."; close2; warp "SavePoint",0,0; } } end;
  13. make sure you didn't disabled the PCRE settings in source when you updated to latest version.
  14. if ( getcharid(1) ) { getpartymember getcharid(1), 1; getpartymember getcharid(1), 2; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { // what happens if someone in the party member is offline =/ .@partymemberaid[.@c] = $@partymemberaid[.@i]; .@c++; } } getitem 30022, 1, .@partymemberaid[ rand( .@c ) ]; announce "Party ["+ strcharinfo(1) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" and a Random Party Member Got 1 MVP TOKEN at "+ strcharinfo(3),0,0x00FF00; } else { getitem 30022, 1; announce "Player ["+ strcharinfo(0) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" and Got 1 MVP TOKEN at "+ strcharinfo(3),0,0x00FF00; } change to .@party_id = getcharid(1); if ( .@party_id ) { getpartymember .@party_id, 2; .@current_map$ = strcharinfo(3); for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( attachrid( $@partymemberaid[.@i] ) ) { if ( getcharid(1) == .@party_id && strcharinfo(3) == .@current_map$ ) getitem 30022, 1; } detachrid; } announce "Party ["+ strcharinfo(1) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" and a Random Party Member Got 1 MVP TOKEN at "+ strcharinfo(3),0,0x00FF00; }
  15. cant reproduce your issue, work fine when I test the code in my test server. At least post your latest edited codes everytime if it doesn't work.
  16. https://github.com/rathena/rathena/blob/master/doc/map_cache.txt#L24-L28
  17. the Weemapcache doesn't read a certain cell type, which eventually break your map cell/object/feature. use the original map-cache.exe that provided in the server. https://github.com/rathena/rathena/blob/master/doc/map_cache.txt https://github.com/rathena/rathena/blob/master/conf/grf-files.txt Spend the times and read it.
  18. 2. - script Sample#pvp_mmr -1,{ OnPCDieEvent: if ( getcharid(3) != killerrid && PVP_POINTS > 0 ) { .@amount = (( PVP_POINTS < 20 ) ? PVP_POINTS : 20 ); if ( .@amount ) { PVP_POINTS -= .@amount; dispbottom "You lose "+.@amount+" Point(s)."; } if ( attachrid( killerrid ) ) { PVP_POINTS += .@amount; dispbottom "You gained "+.@amount+" Point(s)."; } } end; }
  19. update your rAthena, addrid script command has been added long ago. or just change to this ... for ( .@i = 1; .@i <= 5; .@i++ ) { mapwarp "gld_dun0"+.@i,"prontera",155,181; mapannounce "gld_dun0"+.@i,"Event Ended.",bc_all; }
  20. Please do not bump your topics unless you're providing extra details. Anyway, your code. input .@amount,0,100; while( countitem(970) && countitem(972) && countitem(713) && Zeny >= 4000 && .@amount > 0 ) { delitem 970,1; //Alchol delitem 972,1; //Karvodailnirol delitem 713,1; //Empty_Bottle set Zeny, Zeny-4000; getitem 974,1; //Mixture .@amount--; }
  21. you changed to Boolean type. it should only return true / false.
  22. Please do not bump your topics if you're not providing any extra details. Anyway, you can try this https://pastebin.com/vguzsEHD
  23. change this https://github.com/rathena/rathena/blob/master/npc/custom/quests/hunting_missions.txt#L197 #Mission_Points += .@Mission_Points; into #Mission_Points += ( 10 + ( #Mission_Done * 5 ) ); #Mission_Done++;
  24. This is a support topic, you should have provided the code snippets so that other members can help you check/fix the issue. Otherwise, everyone are just guessing your issue based on the outcome. So based on your topic, the answer would be "Add in the missing return statement/line".
×
×
  • Create New...