Angelmelody
-
Content Count
772 -
Joined
-
Last visited
-
Days Won
23
Reputation Activity
-
Angelmelody got a reaction from evilpuncker in If player has item, warp back to savepoint
I recommend you learn Map Zone DB ,its better than running a while loop
-
Angelmelody got a reaction from Lord Ganja in checking offline char_id
you can use charid2rid CMD to check whether the player is online or not
if(charid2rid(.@char_id[.@i]))dispbottom "....";
-
Angelmelody reacted to Keru in Crazy Weed deals no damage
You have to change the pre-re/skill_db.txt:
-2483,11,6,2,0,0x3,4,10,1,yes,0,0x2000,0,weapon,0, GN_CRAZYWEED,Crazy Weed
-2484,0,6,2,2,0x2,3,10,1,no,0,0x2000,0,weapon,0, GN_CRAZYWEED_ATK,Crazy Weed Attack
+2483,11,6,2,0,0x3,4,10,1,yes,0,0,0,none,0, GN_CRAZYWEED,Crazy Weed
+2484,0,6,2,2,0,0,10,1,no,0,0,0,weapon,0, GN_CRAZYWEED_ATK,Crazy Weed Attack
and the pre-re/skill_unit_db.txt :
+2484,0x86, , 0, 2, 100,enemy, 0x080 //GN_CRAZYWEED_ATK
this worked for me to enable crazy weed in pre-renewal, best regards to Happy for helping me with this
-
Angelmelody got a reaction from Lord Ganja in Top 10 PK Killers with lists of characters
ok updated
.@nb = query_sql("select `name`, r.value, `online` from `char` as c INNER JOIN( select `account_id`, `value` from `acc_reg_num_db` WHERE `key` ='#PK_Points' AND `value` > 0 GROUP BY `account_id` order by `value` desc limit 10) as r on c.account_id = r.account_id order by r.value desc,char_num asc", .@name$, .@value, .@online); if(.@nb) mes "Top "+( ++.@j)+" - Points: "+.@value[.@i]; for( .@i = 0; .@i < .@nb; .@i++ ) { if(.@i ) { if(.@value[.@i] != .@value[.@i-1] ){ if(!.@k){ mes " > [Offline]"; } mes "Top "+(++.@j)+" - Points: "+.@value[.@i]; .@k = 0; } if(!.@k && .@i == (.@nb-1) ) { mes " > [Offline]"; } } if(.@online[.@i]) { mes " > "+ .@name$[.@i]; .@k++; } } -
Angelmelody got a reaction from Lord Ganja in Top 10 PK Killers with lists of characters
index goes to -1 XD, now should be fixed ...try again...
.@nb = query_sql("select `name`, r.value, `online` from `char` as c INNER JOIN( select `account_id`, `value` from `acc_reg_num_db` WHERE `key` ='#PK_Points' AND `value` > 0 GROUP BY `account_id` order by `value` desc limit 10) as r on c.account_id = r.account_id order by r.value desc,char_num asc", .@name$, .@value, .@online); if(.@nb) mes "Top "+( ++.@j)+" - Points: "+.@value[.@i]; for( .@i = 0; .@i < .@nb; .@i++ ) { if(.@i ) { if(.@value[.@i] != .@value[.@i-1] ){ mes "Top "+(++.@j)+" - Points: "+.@value[.@i]; } } mes " > "+ .@name$[.@i] +" "+( ( .@online[.@i] )? "^00FF00[Online]" : "^FF0000[Offline]" )+"^000000"; } -
Angelmelody got a reaction from Kid BaKa in how I can add new gm command to my server
you can also use bindatcmd like this
- script asdfjkl -1,{OnInit: bindatcmd "localrecall", strnpcinfo(0)+"::Onwarp",60,99; end;Onwarp: getmapxy(.@m$,.@x,.@y,0); mapwarp .@m$,.@m$,.@x,.@y; end;} -
Angelmelody got a reaction from jaBote in Concerns about function that checks if a given element is in an array
I prefer for loop w/o callfunction
.@arr_size = getarraysize(arraytetst);freeloop(.@arr_size > 510);for(.@i=0; arraytetst[.@i] != valtest ; .@i++ );freeloop(0);if(.@i < .@arr_size ) mes " found!"else mes "not found!";end; -
Angelmelody reacted to kyeme in Bug NonDemiPlayer ??
The bug is in RC_NonDemiHuman too
RC_NonDemiPlayer and RC_NonDemiHuman is not working. still consider as a 'DemiPlayer or DemiHuman'
-
Angelmelody got a reaction from Andre Klose in Mobsearch Command
if( md->spawn_timer == INVALID_TIMER )
change into
if( md->spawn_timer == INVALID_TIMER && pc_get_group_level(sd) > =99 )
-
Angelmelody got a reaction from Clare in change in rental item
its my fault, should change '<=' into '>' -
Angelmelody got a reaction from Clare in change in rental item
@@Clare
insert before this line click
if (sd->status.inventory[idx_equip].expire_time > 0) return false; srry fix typo
-
Angelmelody got a reaction from evilpuncker in Need Help src logo Pinkish
Don't enable anti alias functions when you fill pink color(#FF00FF)
-
Angelmelody reacted to kyeme in Poem of Bragi positioning/refresh
https://github.com/HerculesWS/Hercules/blob/master/conf/battle/skill.conf
// When songs are canceled, terminated or the character goes out of the// area of effect, there's an additional effect that lasts for 20 seconds// Should that time be reset for each song?// 0: No, you must recast the song AFTER those 20 seconds to have the effect again (Aegis)// 1: Yes, recasting songs reset the 20 seconds timer (eathena)song_timer_reset: 0 Change to 1
-
Angelmelody got a reaction from Akaneharuka in I have a problem with this script
the .mobarray array range is 0~ 13
and you choose 15 --> @menu=15
.mobarray[@menu-1] ---> .mobarray[14] = null
it should be
atcommand "@summon " + .mobarray[.@i] + " 60";
-
Angelmelody got a reaction from Emistry in Playing with the encoding ....
ansi chinese words were stored to UTF8 mysql db will become gibberish if you wnat to see correct chinese words, to set up your client connection
encoding to ansi big5.
-
Angelmelody got a reaction from mleo1 in Anybody got a tool to remove this column
Here is Gepard's online convert tool ,I think it should work
http://dev.gepard.kdr.net.pl/r15531/
-
Angelmelody reacted to Haru in Server Transfer and Downtime
Hello everyone~!
Following Ind's resignation from his administrator position last month, we've been working on transferring our services to a new host.
Some services have already been transferred without any downtime (most notably the stat-server), and now it's finally time to move the rest.
The remaining services will be transferred during the upcoming week, starting tomorrow (Sunday, June 28th). You can expect some downtime.
[*]Forum: The forum can be expected to go offline on June 28th at 17:30 GMT, for about two hours. Some features will be temporarily disabled (commit and pull request sidebar widgets), and will be enabled again within 24 or 36 hours. - Completed [*]Wiki: The wiki can be expected to go offline on June 28th at 17:30 GMT, for about two hours. - Completed [*]Bugtracker, git repository: Bugtracker and git repository (hosted by GitHub) won't experience any downtime. [*]Stat-server: The stat-server won't experience any downtime. [*]Hercules IRC bot (commit announcements in the #hercules channel): The IRC bot will go offline on June 28th at 17:30 GMT, for about two hours. The commit announcement hook may experience a longer downtime (up to four more hours). - Completed [*]HerculesWSAPI: The HerculesWSAPI service (HPM Hooks and SQL Item DB automatic re-generation) will be disabled on June 28th at 17:30 GMT, for up to eight hours. - Completed
Through the week, there may be further, brief, downtimes (10-15 minutes each), for planned upgrades and improvements of the platform and individual services.
Given the complexity of the system, and the number of moving parts, there may be unforeseen delays on the scheduled times. We'll do our best to minimize those.
Status updates will be posted here as well as on IRC and on Twitter.
-
Angelmelody reacted to Badarosk0 in [Complete] Old Glast Hein Instance
Hello, we can see that today we have the instance of Old GLAST incomplete Hein. This case is not just here in Hercules, but not yet applied in brAthena, rAthena ..
When performing some searches found an emulator apparently discontinued using the instance completely.
The current version of the instance, for before you talk to the source map (Missing Treasure part), where it would be sent to room of the statues to the delivery of items that give continuity to the new items in the coming episodes of Ragnarok.
I believe that the script of the rest of the application is very important for brAthena and many approve ..
Reminding even with this new application, we completed the initial part of the proceedings. There is still the OGH in nightmare mode, which has not yet been created.
Below is the full script that was removed from idAthena emulator.
http://pastebin.com/sfxVq8LY
Follows the source creators with the descriptive top of the script.
As occurs application of this script, we leave for other instances.
Please Likes----------------------------------------------------------------------------------------------------------------------------------------->>>>
-
Angelmelody got a reaction from Lord Ganja in Help with this script
try 'detachrid' then kick the 'rid2name( $@onlineaid[.@i])' , I think it should work on @AT state vendors
event_wroom,34,157,4 script kickertest 100,{ getmemberaid ALL_SAMEMAP, "event_wroom"; freeloop(1); for( .@i = 0; .@i < $@onlinecount; .@i++ ) { if( attachrid($@onlineaid[.@i]) && strcharinfo(3) == "event_wroom" && checkvending() ) { mapannounce "event_wroom", rid2name( $@onlineaid[.@i]),0; detachrid; atcommand "@kick "+rid2name( $@onlineaid[.@i]); } } freeloop(0); $@onlinecount = 0; deletearray $@onlineaid; end;} -
Angelmelody got a reaction from evilpuncker in Which Forum do you prefer? [MyBB, phpBB, vBulletin, IPB, Xenforo]
I prefer discuz forum, becoz there are a lot of plugins for use
-
Angelmelody got a reaction from karazu in Another Devil Square (MAKE IT AUTOMATED)
replace this
if(.game_player_name$[0] == "") { .game_player_num = 1; .game_player_name$[0] = strcharinfo(0); query_sql "SELECT DATE_FORMAT(TIMESTAMPADD(SQL_TSI_SECOND, "+.time_joining+", NOW( )), '%T'), CURTIME( )", .@time_fstr$, .@time_nstr$; announce "[Devil Square]: Game will start at "+.@time_fstr$+" (Now: "+.@time_nstr$+")", bc_all, 0x00FF00, 400, 18; .time_delay = gettimetick(2) + .time_joining; .game_status = 2; initnpctimer; } else { .game_player_name$[.game_player_num] = strcharinfo(0); .game_player_num++; } with
.game_player_name$[.game_player_num] = strcharinfo(0); .game_player_num++; if(.game_status < 2) { query_sql "SELECT DATE_FORMAT(TIMESTAMPADD(SQL_TSI_SECOND, "+.time_joining+", NOW( )), '%T'), CURTIME( )", .@time_fstr$, .@time_nstr$; announce "[Devil Square]: Game will start at "+.@time_fstr$+" (Now: "+.@time_nstr$+")", bc_all, 0x00FF00, 400, 18; .time_delay = gettimetick(2) + .time_joining; .game_status = 2; initnpctimer; } then add this
OnClock<hour><minute>: if(.game_status) end; query_sql "SELECT DATE_FORMAT(TIMESTAMPADD(SQL_TSI_SECOND, "+.time_joining+", NOW( )), '%T'), CURTIME( )", .@time_fstr$, .@time_nstr$; announce "[Devil Square]: Game will start at "+.@time_fstr$+" (Now: "+.@time_nstr$+")", bc_all, 0x00FF00, 400, 18; .time_delay = gettimetick(2) + .time_joining; .game_status = 2; initnpctimer; end;
the 'OnClock<hour><minute>:' is your automated event starting time
-
Angelmelody got a reaction from evilpuncker in unequipall new script command
nope, script command nude can do the same things
-
Angelmelody got a reaction from Black Box in Doubt on labels as: OnPCKillEvent
example:
https://github.com/MrKeiKun/Hercules/commit/a7280f7e1e1f3f78288d60df0fd7b77748c63fc7
-
-
Angelmelody reacted to Neo-Mind in how to disable the long list of command every login
I have added a patch that will disable it for all langtypes => Disable Help Message on Login.