-
Content Count
171 -
Joined
-
Last visited
-
Days Won
8
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by Happy
-
Updated First Post!
- 115 replies
-
Status Update Open for great projects
- 115 replies
-
https://pastebin.com/hX1WrBxN 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.
-
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 "
-
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.
- 9 replies
-
- status item script
- day
-
(and 1 more)
Tagged with:
-
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; }
- 9 replies
-
- status item script
- day
-
(and 1 more)
Tagged with:
-
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
- 115 replies
-
Status Update Scripting: 1/2 slots available Source code: 1/2 slots available Thanks! Rok on!
- 115 replies
-
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.
-
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.
-
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?
-
Hi! Do you still need it?
-
Hi! on things like 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