mofo
-
Content Count
97 -
Joined
-
Last visited
Reputation Activity
-
-
mofo reacted to jaBote in Locator NPC
Maybe try this?
- script PlayerLocator -1,{OnWhisperGlobal: mes "Tell me a player name to track. Must be an exact player name, cases included."; mes "I'll take "+ .cost +" Zeny even if the search fails."; input .@name$; next; set Zeny, Zeny - .@cost; if (getmapxy(.@map$,.@x,.@y,0,.@name$) == -1) { mes "Sorry, I can't seem to find him!"; close; } mes "I found "+ .@name$ +" in "+ .@map$ +", "+ .@x +", "+ .@i +"."; mes "Hope you can find him too!"; close;OnInit: set .cost, 50000; end;}
Haven't tested it myself, so IDK if that'll work but at least should if script_commands.txt isn't wrong or I've made a mistake somewhere.
-
mofo reacted to quesoph in Locator NPC
prontera,149,172,3 script testetsttest 100,{ mes "Tell me a player name to track. Must be an exact player name, cases included."; mes "I'll take "+ .cost +" Zeny even if the search fails."; if ( select ( "Go:Stop" ) == 2 ) close; input .@name$; next; if (getmapxy(.@map$,.@x,.@y,0,.@name$) == -1) { mes "Sorry, I can't seem to find him!"; close; } mes "I found "+ .@name$ +" in "+ .@map$ +", "+ .@x +", "+ .@y +"."; mes "Hope you can find him too!"; set Zeny, Zeny - .cost; close; OnInit: set .cost, 50000; end;} -
mofo got a reaction from N e s s in your use of skill and chat will be blocked
I think he's referring to the auto-mute system that was recently applied. Some of my players spammed their autoloot command where they ended up with the red mute icon. haha
-
mofo got a reaction from ToiletMaster in Git pull problem again ._.
have you tried...
git commit -am "message"
if that doesn't work and since you said you didn't change anything with that file you can also try...
git checkout 3rd party/libconfig/libconfig.c (fetches an unchanged copy from hercules repo)
or
git add 3rd party/libconfig/libconfig.c (adds the file to the track and makes it safe to merge?)
I'm no git expert, so I could be wrong.
-
-
mofo reacted to malufett in Tetra Vortex aspd
skill.c
change the blacken value to status_get_amotion(src) or any value you want..the greater the value the longer the delay..
-
mofo reacted to Xgear in Compiling plugins - How To (linux)
As I posted in your other topic, did you "make plugins"?
-
mofo reacted to jTynne in [Added Feature] jTynne's @go Command Alternative (.TXT Format!)
jTynne's @go Command Alternative In .txt Format!
This is my custom alternative to @go that allows end users the ability to EASILY add/change @go locations on the fly without the need to edit any source files OR recompling/rebooting their server. This is a highly customizable script that is pretty straight-forward in its coding. You can easily add in or adjust existing @go locations in seconds.
Please Note: This will replace the default @go command when loaded in-game!
Instructions / Customization
To use? Simply upload and @loadnpc the file in-game and @go will be modified. If you wish to add in a new @go location, all you have to do is add a new entry following the format noted below:
if(@warp$ == "35" || @warp$ == "ecl" || @warp$ == "ecla" || @warp$ == "eclag" || @warp$ == "eclage") { callsub Process,"eclage",110,39,0,0; }
if(@warp$ == "36" || @warp$ == "ser" || @warp$ == "sere" || @warp$ == "seren" || @warp$ == "serenglade") { callsub Process,"serenglade",34,82,0,0; }
As noted in the text in red above, you add in a number higher than the current highest value (in the script currently, Eclage is 35, so to add in a custom location, simply add in a value of 36, customize the text based warp strings you want (for @go 36, in the above example, you can either use @go 36 or @go ser @go sere @go seren or @go serenglade, and all will teleport you to the same location of serenglade <34,82>).
Planned for future releases:
- Additional options GM's can set for the command in the header. (Re-use delay, price per use option)
- Mapflag check for nowarp and nogo mapflags.
- No usage while dead.
Version History : Current Version 2.0
2.0 Dec 31st, 2012 : http://www.justintfields.com/rAthena/scripts/gobind_v2.txt
1.0 Dec 29th, 2012: http://www.justintfields.com/rAthena/scripts/gobind.txt
Please report any bugs you may find, and/or if you have any requests / suggestions for the script as a response to this thread. Thank you!
(Please +1 me if you enjoy this script~)
-
mofo reacted to malufett in Another ASPD inquiry
@status.c
if( bl->type&BL_PC ) { amotion = status_base_amotion_pc(sd,status);#ifndef RENEWAL_ASPD status->aspd_rate = status_calc_aspd_rate(bl, sc, b_status->aspd_rate); if(status->aspd_rate != 1000) amotion = amotion*status->aspd_rate/1000;#else // aspd = baseaspd + floor(sqrt((agi^2/2) + (dex^2/5))/4 + (potskillbonus*agi/200)) amotion -= (int)(sqrt( (pow(status->agi, 2) / 2) + (pow(status->dex, 2) / 5) ) / 4 + ((float)status_calc_aspd(bl, sc, 1) * status->agi / 200)) * 10; if( (status_calc_aspd(bl, sc, 2) + status->aspd_rate2) != 0 ) // RE ASPD percertage modifier amotion -= (( amotion - ((sd->class_&JOBL_THIRD) ? battle_config.max_third_aspd : battle_config.max_aspd) ) * (status_calc_aspd(bl, sc, 2) + status->aspd_rate2) / 10 + 5) / 10; if(status->aspd_rate != 1000) // absolute percentage modifier amotion = ( 200 - (200-amotion/10) * status->aspd_rate / 1000 ) * 10;#endif amotion = status_calc_fix_aspd(bl, sc, amotion); status->amotion = cap_value(amotion,((sd->class_&JOBL_THIRD) ? battle_config.max_third_aspd : battle_config.max_aspd),2000); status->adelay = 2*status->amotion; } else for weapon penalty reduction modify your job_db1.txt