Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    408

Everything posted by Emistry

  1. you are not using rAthena ... eAthena dont have getgroupid well..you can still try change it to getgmlevel
  2. you can try set the monster into Boss Type ....Boss Type monster wont be able to knocked back by players....
  3. i mean just edit the database trunk/db/re/item_db.txt the item_bonus i refer to this trunk/doc/item_bonus.txt
  4. i think you just edit the item_bonus inside the db/item_db.txt
  5. check your trunk/conf/groups.conf ...the 1st group for normal users isnt set as GM group or having any GM's permission
  6. below the getitem add announce
  7. thx..should be fixed now https://rathena.org/board/index.php?/files/file/2821-%7B?%7D/
  8. make sure your npc file did import all the npc you need example trunk/npc/re/scripts_main.conf trunk/npc/scripts_custom.conf
  9. how about this ? BUILDIN_FUNC(getpartyshare) { struct party_data *p; if( ( p = party_search( sd->status.party_id ) ) != NULL ) script_pushint( st,p->party.exp ); return 0; } BUILDIN_DEF(getpartyshare,""), just a copy paste from above post .... personally i try just show the value is enough...dont need to store it in a variable ... if you want to store the value..just do like this.. .@exp_share = getpartyshare(); mes "EXP Share : "+( ( .@exp_share )? "ON":"OFF" );
  10. trunk/npc/merchants/cash_trader.txt or trunk/npc/custom/quests/quest_shop.txt or https://rathena.org/board/index.php?/files/file/2504-%7B?%7D/
  11. like this ? http://pastebin.com/raw.php?i=h0FeS1CP
  12. tried trunk/npc/mapflag/nowarp.txt?
  13. http://hercules.ws/wiki/Custom_Items Weapon-type items:Daggers One-Handed Swords Two-Handed Swords One-Handed Spears Two-Handed Spears One-Handed Axes Two-Handed Axes Maces (not used) Wand/Staff Bows/Crossbows Knuckle Weapons Musical Instruments Whips Books Katars Revolvers Rifles Shotguns Gatling guns Grenade launchers Fuuma shuriken Shield-type items:Guard, Novice Guard Buckler Shield, Holy Guard, Evangelist Mirror Shield Ammunition-type items:Arrows Throw-able daggers Bullets Shells Grenades Shuriken Kunai Headgear-type items: Please see the View IDs section of this guide.
  14. trunk/doc/script_commands.txt
  15. *getexp <base xp>,<job xp>; This command will give the invoking character a specified number of base and job experience points. Can be used as a quest reward. Negative values won't work. getexp 10000,5000; You can also use the "set" command with the constants defined in 'db/const.txt': // These 2 combined has the same effect as the above command set BaseExp,BaseExp+10000; set JobExp,JobExp+5000; You can also reduce the amount of experience points: set BaseExp,BaseExp-10000; Note that 'getexp' is now subject to the 'quest_exp_rate' config option, which adjusts the gained value. If you want to bypass this, use the 'set' method.
  16. there is no way npc can read the map name from mapnametable.txt .. you can either save all map name with custom variable and retrieve it ... somwhere in Trojan Website last time have this .... you can check there if you found his website link... too bad i dont have it..forget already ~
  17. Exchanger [ Item to Item ] Exchanger [ Item to Item ] Exchanger [ Multi Item to 1 Item ]
  18. mes "[ Lv ^63D1F4"+.GM_Level$[.@i]+"^000000 ] ^FF0000@ ^0000FF"+.GM_Name$[.@i]+"^000000"; OnPCLogoutEvent: if( getgmlevel() < .MinGMLevel ) end; for( set .@i,0; .@i < getarraysize( .GM_Name$ ) ; set .@i,.@i + 1 ) if( strcharinfo(0) == .GM_Name$[.@i] ){ deletearray .GM_Name$[.@i],1; deletearray .GM_Level$[.@i],1; end; } end;
  19. .... seem like you didnt read what i said in post#17 ... if( .@gmlevel < 10 ) set .GM_Level$[ .@size ],"Level 1 GM"; else if( .@gmlevel < 20 ) set .GM_Level$[ .@size ],"Level 2 GM"; else if( .@gmlevel < 30 ) set .GM_Level$[ .@size ],"Level 3 GM"; else if( .@gmlevel < 40 ) set .GM_Level$[ .@size ],"Level 4 GM"; else set .GM_Level$[ .@size ],"ADMIN"; end;
  20. make sure your GM level is within this range.. if( .@gmlevel < 10 ) set .GM_Level$[ .@size ],"Level 1 GM"; else if( .@gmlevel < 20 ) set .GM_Level$[ .@size ],"Level 2 GM"; else if( .@gmlevel < 30 ) set .GM_Level$[ .@size ],"Level 3 GM"; else if( .@gmlevel < 40 ) set .GM_Level$[ .@size ],"Level 4 GM"; i think your current GM level is 40 level or higher...
  21. try OnPCLoginEvent: set .@gmlevel,getgmlevel(); if( .@gmlevel < .MinGMLevel ) end; set .@size,getarraysize( .GM_Name$ ); set .GM_Name$[ .@size ],strcharinfo(0); if( .@gmlevel < 10 ) set .GM_Level$[ .@size ],"Level 1 GM"; else if( .@gmlevel < 20 ) set .GM_Level$[ .@size ],"Level 2 GM"; else if( .@gmlevel < 30 ) set .GM_Level$[ .@size ],"Level 3 GM"; else if( .@gmlevel < 40 ) set .GM_Level$[ .@size ],"Level 4 GM"; end;
×
×
  • Create New...