-
Content Count
170 -
Joined
-
Last visited
-
Days Won
8
Posts posted by Happy
-
-
Its a modified old lady(card remover) should remove for costumes as well. I'll leave the testing to you
-
-
Instead of every hour, make it every 10 minutes.
Instead of points, change to item.
Stop when vending and pub, but allows AFK.
/* Instead of every hour, make it every 10 minutes. Instead of points, change to item. Stop when vending and pub, but allows AFK. */ - script ksdfskjfhs -1,{ OnPCLoginEvent: dispbottom "Your timer starts now. You will receive 10 minute tickets after being online for 10 minutes"; while (1) { if ( checkvending() != 2 && !checkchatting() ) { .@hourpointtick++; if ( .@hourpointtick > .tick ) { dispbottom "You have received 10 minute tickets"; getitem 7227, 10; .@hourpointtick = 0; } } sleep2 .sleeploop; } end; // doesn't read OnInit: .sleeploop = 30000; // every 30 seconds .tick = 20; // loop 60 times of 30 seconds == 30 minutes end; }
There you go, I'll leave the testing to you though just post here again if there are errors
Might be better to use timers, i think there is already an hourly point reward somewhere with timers. Just try to search around.
-
Send / post the hourly script you had and i'll modify it.
-
2 hours ago, Tio Akima said:Maybe develop while on debug mode, could produce a more understandable error http://herc.ws/wiki/MSVC_Crash_Debugging check this link to enable it on Visual Studio run the map server thru it. and trigger the error again, then post what shows up.
-
try to remove
&pl_sd->bl all together, just put bl on there too. that's what i meant by "try putting bl on first and second since bl is already a block list you probably won't need the pl_sd "
-
7 hours ago, Hidekitakase said:Yeah, but the thing is, the bonus status don't change automatically when i change day to night or the opposite. I wanted that the bonus change automatically when the day is over... it's possible?
maybe post the whole script and i second to @4144 its better if you use timers on this one. Look up addtimer in doc/script_commands.txt and if you haven't read the whole doc, doing a quick glance at each commands might be a big help for you in the future. You don't have to memorize them, you just need to know what's available to you.
-
4 hours ago, Tio Akima said:Cool that someone answered my topic <3
So, what do you think I should do Happy?I honestly tried several alternatives, but I did not succeed.
try putting bl on first and second since bl is already a block list you probably won't need the pl_sd
-
I think you're supposed to put the target on 2nd, but based on your code both src and target parameters are the same which is &pl_sd->bl
-
maybe put it in something like this instead
while(1) { if (!isnight()){ bonus bInt,50; } else { bonus bStr,50; } sleep2 1500; }
-
What errors do you get on your map server console? im guessing the command used on this shop doesn't work with herc, it needs to be converted.
-
Based on the script after a quick look, you're supposed to talk to an npc after being announced as winner. If you've tried talking to the npc, maybe check if there's an error on map server after entering your name(winner name).
-
Seems to work fine, i also used 2014-10-22b to test your script.
-
Status Update
Available again
-
Status Update
Scripting: 1/2 slots available
Source code: 1/2 slots available
Thanks! Rok on!
-
Yeah,im not quite sure but I think i had experienced that before. So i had to find it on the source code, since nothing is happening when i change the skill_db.
-
QuoteIt seems like the " Target: "Enemy" " setting isn't doing what it should be scripted to be or am i just missing something?
Any experts help/reply would be appreciated.Hi! if that doesn't work, its either the skill_db you're editing is not the right skill_db eg. your server is in RE and you're editing Pre-Re skill_db or the opposite.
or it just doesn't work and that the target for the skill is hard coded on source.
Promeister reacted to this -
It is possible. On map/party.c you can try to modify the contents of function party_create
Find:
int party_create(struct map_session_data *sd, const char *name,int item,int item2)
-
Great! You're welcome
-
can you show me the lines you modified?
-
On 6/28/2017 at 10:34 AM, greenieken said:May I request for a modification.
Instead of every hour, make it every 10 minutes.
Instead of points, change to item.
Stop when vending and pub, but allows AFK.
Hi! Do you still need it?
-
Hi! on things like
On 7/13/2017 at 0:37 PM, Relman said:else if ( @PlayersKilledStreak == .doublekill )
setarray .@streakname$,"doublekill.wav","Réalise un Double Kill","!";getitem 985,5;
put the getitem and the setarray inside a block using { }
Eg.
else if ( @PlayersKilledStreak == .doublekill ) { setarray .@streakname$,"doublekill.wav","Réalise un Double Kill","!"; getitem <itemid>,<amount>; }
-
Hi! This one's per account: http://herc.ws/board/applications/core/interface/file/attachment.php?id=4108
-
Hi, You'd need to edit them at mapzone db please refer to this post http://herc.ws/board/topic/302-introducing-hercules-map-zone-database/
They're located at either db/pre-re or db/re map_zone_db.txt
Happy Devs: Bring out the best Ragnarok in you.
in Paid Services
Posted
Status Update
Open for great projects