-
Content Count
526 -
Joined
-
Days Won
22
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by Emistry
-
Set the array variable value to value returned by a function
Emistry replied to latheesan's question in Script Support
there is no need to use array... and much the script so complicated. this is sufficient. - script sample#ip_mac -1,{ OnInit: .useLastMAC = 1; end; OnPCLoginEvent: @accinfo_aid = getcharid(3); query_sql("SELECT `"+( ( .useLastMAC )?"lasp_mac":"last_ip" )+"` FROM login WHERE account_id = "+ @accinfo_aid , @accinfo_ip_mac$ ); dispbottom "Account ID : "+@accinfo_aid ; dispbottom "Last "+( ( .useLastMAC )? "MAC":"IP" )+" : "+@accinfo_ip_mac$; end;} just save the variable in a char temporary variable that last until your char logout. @accinfo_aid @accinfo_ip_mac$ these 2 variable could store the IP/MAC and AccountID that you need. (accountID is alway available using the [wiki=getcharid](3) tho.) -
did u set it with nightenabled mapflag?
-
Which episode does Hercules support?
Emistry replied to latheesan's question in General Server Support
https://github.com/HerculesWS/Hercules/issues/240 https://github.com/HerculesWS/Hercules/issues/241 https://github.com/HerculesWS/Hercules/issues/243 https://github.com/HerculesWS/Hercules/issues/302 -
[item_rate_card_boss] How change drop rate to smaller value then 0.01%?
Emistry replied to anacondaq's question in Source Support
well... it's possible to make it lower than 0.01% if you do it using NPC script with some work around ... if using database ... probably 0.01 is the lowest ... -
@@Tokeiburu If you dont mind, can you create an option that allow user to set a custom directory as default file extracting location ? Sometime feel kinda lost to find the files I extracted when I opened more than 1 GRF to extract files.
-
yuno_fild02,0,0,0 script setwallcake -1,{ end;OnInstanceInit: setwall strnpcinfo(4),89,185,7,6,false,"cakewall"; end;}
-
{ name: "Zone Name" disabled_skills: { RG_INTIMIDATE: "PLAYER" AL_TELEPORT: "PLAYER" SC_FATALMENACE: "PLAYER" SC_DIMENSIONDOOR: "PLAYER" } disabled_items: { Wing_Of_Fly: true } // Expansion of Classes limitation... (perhap based on BaseLevel would be good too?) disabled_classes: { Job_Knight: True Job_Blacksmith: True Job_Novie: True Job_Clown: True } // Expansion of Battle Conf settings ... battle_conf: { multi_level_up: yes base_exp_rate: 100000 job_exp_rate: 100000 mvp_exp_rate: 100000 quest_exp_rate: 100000 death_penalty_base: 100000 death_penalty_job: 100000 rare_drop_announce: 100 } }, I would like to suggest for map zone supporting these battle_conf and disabled_classes I think it's good to further customize settings and entry of a map. Example : Map A cant multi level up higher exp rate disabled novice enter etc Example : Map B can multi level up low exp rate only novice enter etc And yeah, some of these settings can be done by using mapflags, but some are not or it would be end up harder way to do it using npc script.
-
Is there any way to Automatically Select Server?
Emistry replied to nuna's question in General Server Support
what is the point of having 2 selection when you insist the server to auto select one of it ?? no point of having 2 server in the listing when you only want the server to auto select 1 out of it. just diff your client read different clientinfo.xml and skip server selection patch. -
why not just use a addtimer or sleep2 here ? just delay the execution of next script/command .... so that it will prompt out the message after they warped to the map...
-
this way is better http://herc.ws/wiki/Permanent_Monster_Spawn
-
https://rathena.org/wiki/Adding_new_bonuses
-
Monster command would make them enemy, while @summon spawns them as friend. so that's why it was called "Friend" ... didnt notice this xD if ( .@is_all ) for ( .@i = 0; .@i < .mob_list_size; .@i++ ) summon "--ja--",.mob_list[.@i]; else summon "--ja--",.mob_list[.@i-1];
-
http://upaste.me/r/197847
-
If you could list out what have done / not yet done , I could try to help during weekend. If this is for public, why not just release the github link let everyone help too instead of only those who are tagged. Things get faster and develop faster if you get more people helping on it.
-
add the prontera map to the mapcache add to db/map_index.txt add to conf/maps_athena.conf add a new entry in mapresnametable.txt prontera2.gnd#prontera.gnd#prontera2.gat#prontera.gat#prontera2.rsw#prontera.rsw#유저인터페이스mapprontera2.bmp#유저인터페이스mapprontera.bmp#
-
Old interface (sakexe?/ragexe?/eathena?/rAthena?)
Emistry replied to Gold Ragnarok Online's question in Client-Side Requests
http://svn.games-service.net/ -
i think the last line shouldn't have "comma" at the end.
-
create a loop...and loop through all the items.
-
http://upaste.me/r/2bd19c
-
http://upaste.me/r/1076a1
-
change query_sql( "INSERT INTO `gm_shop_log` ( `account_id`,`char_id`,`name`,`item`,`reason`,`time` ) VALUES ( "+getcharid(3)+","+getcharid(0)+",'"+strcharinfo(0)+"','"+@bought_quantity[0]+"x "+getitemname( @bought_nameid[0] )+"',"+.@reason$+",NOW() ) " ); into query_sql( "INSERT INTO `gm_shop_log` ( `account_id`,`char_id`,`name`,`item`,`reason`,`time` ) VALUES ( "+getcharid(3)+","+getcharid(0)+",'"+strcharinfo(0)+"','"+@bought_quantity[0]+"x "+getitemname( @bought_nameid[0] )+"','"+.@reason$+"',NOW() ) " );
-
How to remove the Item Color Name [ 2013-08-07 RagExe ]
Emistry replied to Kuya Jeo's question in Client-Side Support
I think you're using langtype 0 or 1 right ? just change to other langtype and it will turn back to black and white. i think kRO used this to allow players easy to spot a slotted and un-slotted items. anyway, the coloring is suck, it would be great if there are some way to change it. through hexing the client i guess. -
it is *bindatcmd "command","<NPC object name>::<event label>"{,<group level>,<group level char>,<log>}; LOL... seem like I am still using a super old version of script_command.txt haha my bad.
-
if you dont mind , add the "log" option as well .. I think this isnt included right ?
-
something like this I guess. http://upaste.me/r/074dfa i didnt test the script, just simply sketch one.