-
Content Count
1677 -
Joined
-
Last visited
-
Days Won
245
Reputation Activity
-
AnnieRuru got a reaction from IndieRO in King of Emperium Hill
I think its better to have a release topic for this instead of me update the script across separate topics
Download: Hercules 1.3
Script
Plugin for Hercules
Download: rAthena 1.2
Script.
Patch for rAthena
what this event do ? ( huh ? so popular script and I still need to explain ? )
1. make a guild
2. join this event
3. whack the emperium
4. defends it until times up
hahaha ....
How to configure the time:
L_start: <-- the label to start the event
change OnClock2000: into OnSat2000: to start this event on Saturday 8pm
L_end: <-- the label to end the event
change OnClock2030: into OnSat2030: to end this event on Saturday 8:30pm,
effectively makes this event runs 30 minutes
Frequently Asked Questions:
Question : why the Guild member can hit their own Emperium ?
Answer : because you didn't patch and recompile
Question: there is an exploit in this event, guild master can use Emergency Recall to abuse the prize
Answer : I already fixed it in this topic, now the prize reward will be given after the winner warp outside the map
original topic from eathena forum
http://www.eathena.ws/board/index.php?showtopic=174222
yeah ... I have been fixing this script since 7 years ago
-
AnnieRuru got a reaction from Like it~* in King of Emperium Hill
I think its better to have a release topic for this instead of me update the script across separate topics
Download: Hercules 1.3
Script
Plugin for Hercules
Download: rAthena 1.2
Script.
Patch for rAthena
what this event do ? ( huh ? so popular script and I still need to explain ? )
1. make a guild
2. join this event
3. whack the emperium
4. defends it until times up
hahaha ....
How to configure the time:
L_start: <-- the label to start the event
change OnClock2000: into OnSat2000: to start this event on Saturday 8pm
L_end: <-- the label to end the event
change OnClock2030: into OnSat2030: to end this event on Saturday 8:30pm,
effectively makes this event runs 30 minutes
Frequently Asked Questions:
Question : why the Guild member can hit their own Emperium ?
Answer : because you didn't patch and recompile
Question: there is an exploit in this event, guild master can use Emergency Recall to abuse the prize
Answer : I already fixed it in this topic, now the prize reward will be given after the winner warp outside the map
original topic from eathena forum
http://www.eathena.ws/board/index.php?showtopic=174222
yeah ... I have been fixing this script since 7 years ago
-
AnnieRuru got a reaction from Zia in King of Emperium Hill
I think its better to have a release topic for this instead of me update the script across separate topics
Download: Hercules 1.3
Script
Plugin for Hercules
Download: rAthena 1.2
Script.
Patch for rAthena
what this event do ? ( huh ? so popular script and I still need to explain ? )
1. make a guild
2. join this event
3. whack the emperium
4. defends it until times up
hahaha ....
How to configure the time:
L_start: <-- the label to start the event
change OnClock2000: into OnSat2000: to start this event on Saturday 8pm
L_end: <-- the label to end the event
change OnClock2030: into OnSat2030: to end this event on Saturday 8:30pm,
effectively makes this event runs 30 minutes
Frequently Asked Questions:
Question : why the Guild member can hit their own Emperium ?
Answer : because you didn't patch and recompile
Question: there is an exploit in this event, guild master can use Emergency Recall to abuse the prize
Answer : I already fixed it in this topic, now the prize reward will be given after the winner warp outside the map
original topic from eathena forum
http://www.eathena.ws/board/index.php?showtopic=174222
yeah ... I have been fixing this script since 7 years ago
-
AnnieRuru got a reaction from dhaisuke in Help in KOTH Bug
in my original koe script, I did
mes "[Exit]"; mes "See ya."; if ( getcharid(2) == $koegid ) getitem 501, 1; // configure prize here close2; warp "Save",0,0; end;so yeah, members can talk to this npc (claim the prize), don't press the close buttonand wait for guild master recall them, and talk to this npc (claim the prize), don't press the close button
repeat
so yeah, that's how they abuse the prize
I just figured it out 2 days ago when I read bug report section about someone posting about guild aura bug
to fix it, simply move the condition of giving the prize into after the close2; button
mes "[Exit]"; mes "See ya."; close2; if ( getcharid(2) == $koegid ) getitem 501, 1; // configure prize here warp "Save",0,0; end;like this
so in your modified script, it should be
// KoE Exitguild_vs1,49,56,5 script Exit#KoE 51,{ mes "[Exit]"; mes "Thank you for Joining"; mes "You Won PVP Tokens and Cash Points"; close2; if ( getcharid(2) == $koegid ) { getitem 8039,150; set #CASHPOINTS,#CASHPOINTS + 50; dispbottom "You got "+#CASHPOINTS+" cash points."; } warp "Save",0,0; end;} -
AnnieRuru got a reaction from dhaisuke in Help in KOTH Bug
definitely require source modification
in scripting the syntax is
if ( strcharinfo(3) == "guild_vs1" && gettime(3) != 21 )
so to do this in source code correctly is
src/map/skill.c | 9 +++++++++ 1 file changed, 9 insertions(+)diff --git a/src/map/skill.c b/src/map/skill.cindex b0c6d7a..53b6380 100644--- a/src/map/skill.c+++ b/src/map/skill.c@@ -535,6 +535,15 @@ int skillnotok (uint16 skill_id, struct map_session_data *sd) clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); return 1; }+ else if ( !strcmp( mapindex_id2name(sd->mapindex), "guild_vs1" ) ) {+ time_t clock;+ struct tm *t;+ time( &clock );+ t = localtime( &clock );+ if ( t->tm_hour != 21 ) // assuming KoE runs at 9pm to 10pm+ clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);+ return 1;+ } break; case BS_GREED: case WS_CARTBOOST:..
seriously there is no need to do like that
I have received several reports about this prize abused
http://rathena.org/board/topic/81302-im-using-annie-koe-script-but-need-some-modifications/?p=192946
but only figured out recently due to reading skill.conf
emergency recall allow to use in gvg mapflag,and with default setting, it can also be use in nowarpto mapflag, that's the reason it can be abused
... or can just change 11 into 27 ... but that will disallow to use in this map totally
-
AnnieRuru got a reaction from schan in SQL Mission Board Problem
type '@mission'and see the magic
but I don't think you can see it because your server doesn't support *strcmp
.
.
I purposely put that as a test to know the user is using latest rathena or notbecause this script can only use in latest rathena
https://github.com/rathena/rathena/commit/d569d288bd73b9eb076e76302ecf4c17a0340d10
there are a few commands which are not compatible with hercules
however after developer fix this bug, I might consider fix this to use in hercules
-
AnnieRuru got a reaction from Cabrera in Gifting items from jobquests.
run a search "jobchange" with "Find in files" in "herculesnpc"
after every single *jobchange,
getitem 501,1;
.... quite hassle to do like this
or the easy way, yet unoptimized way, is to use a custom npc, ask them come to this npc to claim the gift
prontera,154,184,5 script kjdhfksdjfs 100,{ mes "blah blah come and get a prize"; next; if ( Class == Job_Novice ) { mes "no gift for the noobs"; close; } if ( Job_Gift[ Class ] ) { mes "You have already claim the gift"; close; } switch ( Class ) { case Job_Swordman: getitem 501, 1; break; case Job_Mage: getitem 501, 1; break; case Job_Archer: getitem 501, 1; break; case Job_Acolyte: getitem 501, 1; break; // .... add more default: mes "this job ID is not yet done because the author is feeling lazy hahaha"; close; } Job_Gift[ Class ] = 1; mes "have a nice day"; close;}1 thing good using another npc is you don't have to look at another file when debuggingthe bad ... of course, used up a few custom variable, and needs to reminds players to come and get it
-
AnnieRuru got a reaction from Olrox in Limit characters in 1 MAP v.2
/*create table freebie (ip varchar(16) primary key,claimed tinyint(4)) engine = innodb;drop table freebie;*/prontera,154,185,5 script kjdhfksjhf 100,{ mes "freebie ..."; mes " "; if ( #freebie_claimed ) { mes "you have already claimed the prize"; close; } query_sql "select claimed from freebie where ip = '"+ getcharip() +"'", .@claimed; if ( .@claimed >= .limit ) { mes "this ip has reached the max limit to claimed the freebies"; close; } if ( !checkweight(501,1) ) { mes "lol ... you can't even carry 1 red pot"; close; } getitem 501,1; mes "gratzzzzzzz ... zzzz...."; query_sql "insert into freebie values ( '"+ getcharip() +"', 1 ) on duplicate key update claimed = claimed +1;"; #freebie_claimed = 1; close;OnInit: .limit = 2; // how many times 'player can actually create multiple account to cheat this system'. change to 5 // oh ... and then, reset the router again to change ip then claim again !}..
.
if the sql query return the result within 0.1 sec, I don't think it will produce lagand this sql table has already indexed too
-
AnnieRuru got a reaction from leloush in Hi, can i request for a script something like this.
- script kjdhfksdjfhs -1,{OnClock0000:OnClock0400:OnClock0800:OnClock1200:OnClock1600:OnClock2000: enablenpc "qwerty"; sleep 1 *60 *60 *1000; // 1 hour mapwarp "guild_vs2", "prontera",156,191; disablenpc "qwerty"; end;OnInit: disablenpc "qwerty"; end;}prontera,156,195,5 warp qwerty 2,2,guild_vs2,49,49change guild_vs2 into gld2_prt -
AnnieRuru reacted to jaBote in Making Pull Requests on Hercules
Do you remember the many advantages Git has against Subversion (SVN)? One of those many advantages is the fact that in Git, you can send pull requests in order to directly collaborate with the community, without even the need of being an official Hercules dev, and if you contribute enough you can surely become a dev if you want. Well then, this is an – as detailed as possible – guide on how to make them.
First of all: What is a pull request? It's a way of telling the original devs of a (commonly open-sourced) project what changes you've made yourself on their project supposedly for the better, and kindly ask them (request) to merge it (pull). In short, it's a way of collaborating to a project without the need of being related at all to it. Obviously, your pull request may be rejected if it doesn't meet some requirements, but this is another story.
Git does also offer its own tools for pull requests (more info), but they're incompatible with the ones GitHub has. Moreover, GitHub pull request tools are easier to use than Git's.
What steps are required in order to do a pull request? In abstract, you'll have to:
Sign up for a GitHub account, if you don't have it already. Fork Hercules project in GitHub, if you haven't done this already. Clone your previous fork to a local repository in your computer, if you haven't done this already. Work on your fork. Commit your changes to your local repository. Push the changes you've previously committed to your remote repository on GitHub. Make the aforementioned pull request to the Hercules official repository. Steps 3 and 5 have already been shown on the Obtaining Hercules guide by @Ind (Obtaining Hercules through Git on *insert OS here* and Troubleshooting sections). These two steps will be slightly reviewed, but expect a fully detailed how-to in the others.
By the way, GitHub also has its own (generic) guides on how to fork a repo and then make a pull request, which also explain the toughest parts of this guide (though they're not so tough) and cover steps 2-6 (supposing you have a Git console). You're encouraged to go and read them if you want.
Well, here we go with the guide!
Step 1: Sign up for a GitHub account
Step 2: Fork Hercules project in GitHub
Steps 3 to 6: Local computer work
Step 7: (Finally) submitting the pull request
Congratulations! You have successfully made your first pull request on Hercules! This is a reason to be proud of yourself, isnt it?
-
AnnieRuru got a reaction from evilpuncker in [Suggestion] displaybottom & message colors
I can write this
http://upaste.me/de7c10577fd5ed9d5
there is a problem ...
prontera,162,180,5 script aasdf 100,{ dispbottom "test color"; dispbottom "test color", 0xFF0000; dispbottom "test color", 0x00FF00; dispbottom "test color", 0x0000FF; end;}I test with this scriptit seems only able to display RED correct ...
green and blue are not ...
I remember when I did with rathena emulator on my previous post here, I don't recall having this bug
-
AnnieRuru got a reaction from sandbox in Offline invitation script :3
sql table
create table guild_invite (id int(11) unsigned primary key auto_increment,char_id int(11) unsigned,guild_id int(11) unsigned,key (char_id),key (guild_id),unique (char_id,guild_id)) engine = innodb;source modificationhttp://upaste.me/648510601a30ea563
and the script
http://upaste.me/a50910600302d4ea5
EDIT: oh wait, 100th post !
-
AnnieRuru got a reaction from Cabrera in Offline invitation script :3
sql table
create table guild_invite (id int(11) unsigned primary key auto_increment,char_id int(11) unsigned,guild_id int(11) unsigned,key (char_id),key (guild_id),unique (char_id,guild_id)) engine = innodb;source modificationhttp://upaste.me/648510601a30ea563
and the script
http://upaste.me/a50910600302d4ea5
EDIT: oh wait, 100th post !
-
AnnieRuru reacted to Olrox in [Showcase] - Kirigakure, the land of Mist *From Naruto*
1. Concept
Hello everyone, here I'll show a map I've been working for quite a while. This is my fourth map of Naruto I have made so far (Konoha, Akatsuki Hideout, Sunagakure and finally, kirigakure) There is still a few of maps of this anime I have to complete yet. As always your feedback is always appreciated
kirigakure - The land of Mist, is one of the main towns of this anime I have to complete. The image shows the reference of the town, that is mostly about high peak mountains and a condensed mist falling down .
2. Features
kirigakure, is one of my third generation maps, since it fits very well in the quality I've been aiming to reach for. The previous image, shows one example of modeling and texturizing of the reference, trying to fit it in the Ragnarok Style. All of this has been made by me from scratch.
[*]Special care in details around texturizing.
[*]Close camera details and decoration were improved here.
[*]Just had fun by trying new shadows/light angles
[*]kinda some complex gats around those bridges
3. Video *watch in HD 1080p*
4. Screenshots
Some screenshots. There isn't a particular order or purpose on the screens here, just some overview screenshots and maybe some others that has to do with close ups.
-
AnnieRuru got a reaction from caspe in map_zone_db.conf allows to restrict an ITEM TYPE
ok ... its my turn to give suggestion time ..
http://rathena.org/board/topic/77088-certain-map-weapon-restriction/?p=239342
noitem mapflag meant for rathena
when compare my code and hercules map_zone_db.conf
hercules can already restrict items by ID
but my modifications can allow to restrict an item type
example
pvp_y_1-1 mapflag noitem 0this pvp map cannot use healing itemsevent_gm mapflag noitem 4,5this gm hosting event will disallow players to equip any kind of equipments
so how about hercules have the same thing
{ name: "PvP no Pot" inherit: ( "PvP" ) disabled_items: { IT_HEALING: true }}, { name: "GM event" disabled_items: { IT_WEAPON: true IT_ARMOR: true }}, -
AnnieRuru got a reaction from kyeme in Do not count @at as online player
I don't think its possible to alter the /who to display non-autotrade
but @who and @whomap can
http://upaste.me/4d1e10585e29b0b0d
you guys need to change the message.conf into other numbers ... I simply pick randomly
for the script command, I think I'll propose an alternative method
something like *getservermember ... just use this commmand and count respectively
-
AnnieRuru got a reaction from Sephus in How to check if target is a boss?
ACMD(chkmvp) { if( !message || !*message ) { clif->message( fd, "empty" ); return false; } else if ( mob->db( atoi(message) )->mexp ) { clif->message( fd, "This is a MVP" ); return true; } else { clif->message( fd, "No mobs or not MVP" ); return true; }} ACMD_DEF(chkmvp), -
AnnieRuru got a reaction from schan in Lucky Pick Event
hmm ... paskie made a post makes me change my plan to make this topic a top priority in my list
I have made 3 variations of lucky pick event script
http://www.eathena.ws/board/index.php?s=&showtopic=275732&view=findpost&p=1512505 3 years ago
http://rathena.org/board/topic/77364-dynamic-time-lucky-pick-event/?p=173025 last year
http://rathena.org/board/topic/91510-lucky-pick-event/?p=240207 last month
and 4th method now if consider adding paskie's method above
but now I'm going to propose a 5th method ...
write a new script command call *getservermember
I always wanted to write one since years ago but there was array limitation to 127 index all the time ... until last month
http://upaste.me/23e0105643b9c3019
and the script with shuffle algorithm
http://upaste.me/ab41105653011d513
keyworld, feel free to optimized that shuffle algorithm =/
-
AnnieRuru got a reaction from Clare in map_zone_db.conf allows to restrict an ITEM TYPE
ok ... its my turn to give suggestion time ..
http://rathena.org/board/topic/77088-certain-map-weapon-restriction/?p=239342
noitem mapflag meant for rathena
when compare my code and hercules map_zone_db.conf
hercules can already restrict items by ID
but my modifications can allow to restrict an item type
example
pvp_y_1-1 mapflag noitem 0this pvp map cannot use healing itemsevent_gm mapflag noitem 4,5this gm hosting event will disallow players to equip any kind of equipments
so how about hercules have the same thing
{ name: "PvP no Pot" inherit: ( "PvP" ) disabled_items: { IT_HEALING: true }}, { name: "GM event" disabled_items: { IT_WEAPON: true IT_ARMOR: true }}, -
AnnieRuru got a reaction from Mumbles in map_zone_db.conf allows to restrict an ITEM TYPE
ok ... its my turn to give suggestion time ..
http://rathena.org/board/topic/77088-certain-map-weapon-restriction/?p=239342
noitem mapflag meant for rathena
when compare my code and hercules map_zone_db.conf
hercules can already restrict items by ID
but my modifications can allow to restrict an item type
example
pvp_y_1-1 mapflag noitem 0this pvp map cannot use healing itemsevent_gm mapflag noitem 4,5this gm hosting event will disallow players to equip any kind of equipments
so how about hercules have the same thing
{ name: "PvP no Pot" inherit: ( "PvP" ) disabled_items: { IT_HEALING: true }}, { name: "GM event" disabled_items: { IT_WEAPON: true IT_ARMOR: true }}, -
AnnieRuru got a reaction from hemagx in map_zone_db.conf allows to restrict an ITEM TYPE
ok ... its my turn to give suggestion time ..
http://rathena.org/board/topic/77088-certain-map-weapon-restriction/?p=239342
noitem mapflag meant for rathena
when compare my code and hercules map_zone_db.conf
hercules can already restrict items by ID
but my modifications can allow to restrict an item type
example
pvp_y_1-1 mapflag noitem 0this pvp map cannot use healing itemsevent_gm mapflag noitem 4,5this gm hosting event will disallow players to equip any kind of equipments
so how about hercules have the same thing
{ name: "PvP no Pot" inherit: ( "PvP" ) disabled_items: { IT_HEALING: true }}, { name: "GM event" disabled_items: { IT_WEAPON: true IT_ARMOR: true }}, -
AnnieRuru got a reaction from evilpuncker in checkemblem()
BUILDIN(checkemblem) { struct guild *g = guild->search( script_getnum(st,2) ); if ( g && g->emblem_id ) script_pushint(st,1); else script_pushint(st,0); return true;} BUILDIN_DEF(checkemblem,"i"),.tested with
prontera,155,185,5 script khdsgfjshf 100,{ if ( checkemblem( getcharid(2) ) ) dispbottom "You can join this event"; else dispbottom "Your guild needs an emblem to join King of Emperium Hill event"; end;}..
there is no need for optional parameter because getcharid itself can support optional parameter
checkemblem( getcharid(2, rid2name( <account_id> ) ) );
-
AnnieRuru got a reaction from schan in map_zone_db.conf allows to restrict an ITEM TYPE
ok ... its my turn to give suggestion time ..
http://rathena.org/board/topic/77088-certain-map-weapon-restriction/?p=239342
noitem mapflag meant for rathena
when compare my code and hercules map_zone_db.conf
hercules can already restrict items by ID
but my modifications can allow to restrict an item type
example
pvp_y_1-1 mapflag noitem 0this pvp map cannot use healing itemsevent_gm mapflag noitem 4,5this gm hosting event will disallow players to equip any kind of equipments
so how about hercules have the same thing
{ name: "PvP no Pot" inherit: ( "PvP" ) disabled_items: { IT_HEALING: true }}, { name: "GM event" disabled_items: { IT_WEAPON: true IT_ARMOR: true }}, -
-
AnnieRuru got a reaction from kyeme in map_zone_db.conf allows to restrict an ITEM TYPE
ok ... its my turn to give suggestion time ..
http://rathena.org/board/topic/77088-certain-map-weapon-restriction/?p=239342
noitem mapflag meant for rathena
when compare my code and hercules map_zone_db.conf
hercules can already restrict items by ID
but my modifications can allow to restrict an item type
example
pvp_y_1-1 mapflag noitem 0this pvp map cannot use healing itemsevent_gm mapflag noitem 4,5this gm hosting event will disallow players to equip any kind of equipments
so how about hercules have the same thing
{ name: "PvP no Pot" inherit: ( "PvP" ) disabled_items: { IT_HEALING: true }}, { name: "GM event" disabled_items: { IT_WEAPON: true IT_ARMOR: true }},