tokenacc001
-
Posts
35 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by tokenacc001
-
-
Just now, Patskie said:
You have to used another way to store your bet amount. It's up to you to find out. I gave most of the mechanics already, besides you should detailed out your topic to prevent "1 question, last question" replies.
oh, i see, thanks a lot!!
sorry for the asking one question after another, i just happen to bump to it unexpectedly because I use the same .@ variable on another script and it's working...
thanks a lot!! it's working now!!! -
On 8/25/2020 at 6:11 PM, Patskie said:
Does not from my local server. Are you using latest rAthena?
yea, it's the latest.
weird, it worked now without crashing hahaha, thanks!!!!!!!!!!!!!!!!!!!!
On 8/25/2020 at 2:51 PM, Patskie said:Try below script. I didn't test it too much
- script MVP_vs_MVP FAKE_NPC,{ OnMinute00: if (gettime(DT_HOUR) % 2 || .start) end; goto OnStart; end; OnStart: mapwarp "1@dth3", "prontera", 150, 150; killmonster "1@dth3", "All"; .start = 1; announce .npc$ + " We are going to have a MVP vs MVP Event.", bc_all; sleep 7000; announce .npc$ + " For those who want to join, you can participate by using @mvpjoin", bc_all; sleep 7000; announce .npc$ + " We will start the event after 1 minute", bc_all; sleep 60000; announce .npc$ + " The entry to the event is now closed", bc_all; .start = 2; sleep 7000; if (getmapusers("1@dth3") < 1) { announce .npc$ + " Not enough participants to continue the event", 0; .start = 0; end; } mapannounce "1@dth3", .npc$ + " The rules for this event is simple", bc_map; sleep 7000; mapannounce "1@dth3", .npc$ + " Two MVP's will spawn at the center of the map and will attack each other", bc_map; sleep 7000; mapannounce "1@dth3", .npc$ + " Before these MVP's spawn, I will give you 1 minute to make a bet", bc_map; sleep 7000; mapannounce "1@dth3", .npc$ + " The bet cost for this event is " + F_InsertComma(.bet_cost) + "z and when your chosen MVP wins you'll get as much as " + F_InsertComma(.bet_rewd) + "z !!!", bc_map; sleep 7000; mapannounce "1@dth3", .npc$ + " All good?? Let's start betting !!!", bc_map; sleep 7000; mapannounce "1@dth3", .npc$ + " To make a bet please use @mvpbet command, I will give 1 minute for you guys to make a bet", bc_map; .start = 3; sleep 55000; mapannounce "1@dth3", .npc$ + " Betting will close in 5...", bc_map; sleep 1000; mapannounce "1@dth3", .npc$ + " 4...", bc_map; sleep 1000; mapannounce "1@dth3", .npc$ + " 3...", bc_map; sleep 1000; mapannounce "1@dth3", .npc$ + " 2...", bc_map; sleep 1000; mapannounce "1@dth3", .npc$ + " 1...", bc_map; sleep 1000; .start = 4; mapannounce "1@dth3", .npc$ + " Betting is now closed !!!", bc_map; sleep 7000; mapannounce "1@dth3", .npc$ + " Let's get ready to RUMBLE !!!", bc_map; .@mid = .MVP[rand(.size)]; monster "1@dth3", 68, 68, "MVP A", .@mid, 1, strnpcinfo(1) + "::OnDie1", Size_Small, AI_NONE; .ma = $@mobid; monster "1@dth3", 71, 68, "MVP B", .@mid, 1, strnpcinfo(1) + "::OnDie2", Size_Small, AI_ATTACK; .mb = $@mobid; end; OnDie1: unittalk .mb, "[MVP B] Mwahaha!~ Such a weak opponent!"; sleep 7000; killmonster "1@dth3", "All"; .start = 0; addrid(5, 0, "1@dth3"); if (2 == @mvp_bet) { message strcharinfo(0),"Congratulations! You won the event, Good choice!"; Zeny += .bet_rewd; } @mvp_bet = 0; setpcblock PCBLOCK_ATTACK | PCBLOCK_IMMUNE, false; warp "SavePoint", 0, 0; end; OnDie2: unittalk .ma, "[MVP A] Mwahaha!~ Such a weak opponent!"; sleep 7000; killmonster "1@dth3", "All"; .start = 0; addrid(5, 0, "1@dth3"); if (1 == @mvp_bet) { message strcharinfo(0),"Congratulations! You won the event, Good choice!"; Zeny += .bet_rewd; } @mvp_bet = 0; setpcblock PCBLOCK_ATTACK | PCBLOCK_IMMUNE, false; warp "SavePoint", 0, 0; end; OnEventBet: mes .npc$; if (!.start) mes "The event is not active."; else if (.start != 3) mes "The event cannot accept bets at the moment."; else if (Zeny < .bet_cost) mes "You don't have enough zeny to make a bet."; else if (@mvp_bet) mes "You already placed your bet."; else if (strcharinfo(3) != "1@dth3") mes "Hmm~"; else { mes "Which mvp will you bet on this match???"; next; .@s = select("MVP A:MVP B"); mes .npc$; mes "Are you sure you want to bet " + F_InsertComma(.bet_cost) + " on " + (.@s == 1 ? "MVP A" : "MVP B") + "?"; next; if (select("Yes:No") & 2) end; if (.start != 3) { // in case they delay the select ??? setpcblock PCBLOCK_ATTACK | PCBLOCK_IMMUNE, false; warp "SavePoint", 0, 0; end; } mes .npc$; mes "Good luck and have fun!"; Zeny -= .bet_cost; @mvp_bet = .@s; } end; OnEventJoin: if (!.start) message strcharinfo(0), "The event is not active."; else if (.start != 1) message strcharinfo(0), "The event is not yet allowing participants to enter."; else { setpcblock PCBLOCK_ATTACK | PCBLOCK_IMMUNE, true; switch (rand(1,4)) { case 1: warp "1@dth3", 49, 50; break; case 2: warp "1@dth3", 49, 88; break; case 3: warp "1@dth3", 89, 88; break; case 4: warp "1@dth3", 89, 50; break; } } end; OnInit: bindatcmd "mvpjoin", strnpcinfo(1) + "::OnEventJoin"; bindatcmd "mvpbet", strnpcinfo(1) + "::OnEventBet"; bindatcmd "mvpstart", strnpcinfo(1) + "::OnStart", 99, 99; // List of MVP's setarray .MVP[0], 1112, 1115, 1147, 1150, 1157, 1159; .size = getarraysize(.MVP); .npc$ = "[MVP vs MVP Event]"; .bet_cost = 5000; // 5,000z to bet in the event .bet_rewd = 1000000; // 1,000,000z if bet wins end; } 1@dth3 mapflag monster_noteleport 1@dth3 mapflag noskill 1@dth3 mapflag noloot 1@dth3 mapflag noitemconsumption 1@dth3 mapflag nomemo 1@dth3 mapflag nosave SavePoint 1@dth3 mapflag nowarpto 1@dth3 mapflag nowarp 1@dth3 mapflag noteleport
uhm, 1 question pls, i changed the mob to non-agresive, how can I make them fight each other?
On 8/25/2020 at 7:26 PM, Patskie said:- script MVP_vs_MVP FAKE_NPC,{ OnMinute00: if (gettime(DT_HOUR) % 2 || .start) end; goto OnStart; end; OnStart: mapwarp "1@dth3", "prontera", 150, 150; killmonster "1@dth3", "All"; .start = 1; announce .npc$ + " We are going to have a MVP vs MVP Event.", bc_all; sleep 7000; announce .npc$ + " For those who want to join, you can participate by using @mvpjoin", bc_all; sleep 7000; announce .npc$ + " We will start the event after 1 minute", bc_all; sleep 60000; announce .npc$ + " The entry to the event is now closed", bc_all; .start = 2; sleep 7000; if (getmapusers("1@dth3") < 1) { announce .npc$ + " Not enough participants to continue the event", 0; .start = 0; end; } mapannounce "1@dth3", .npc$ + " The rules for this event is simple", bc_map; sleep 7000; mapannounce "1@dth3", .npc$ + " Two MVP's will spawn at the center of the map and will attack each other", bc_map; sleep 7000; mapannounce "1@dth3", .npc$ + " Before these MVP's spawn, I will give you 1 minute to make a bet", bc_map; sleep 7000; mapannounce "1@dth3", .npc$ + " The bet cost for this event is " + F_InsertComma(.bet_cost) + "z and when your chosen MVP wins you'll get as much as " + F_InsertComma(.bet_rewd) + "z !!!", bc_map; sleep 7000; mapannounce "1@dth3", .npc$ + " All good?? Let's start betting !!!", bc_map; sleep 7000; mapannounce "1@dth3", .npc$ + " To make a bet please use @mvpbet command, I will give 1 minute for you guys to make a bet", bc_map; .start = 3; sleep 55000; mapannounce "1@dth3", .npc$ + " Betting will close in 5...", bc_map; sleep 1000; mapannounce "1@dth3", .npc$ + " 4...", bc_map; sleep 1000; mapannounce "1@dth3", .npc$ + " 3...", bc_map; sleep 1000; mapannounce "1@dth3", .npc$ + " 2...", bc_map; sleep 1000; mapannounce "1@dth3", .npc$ + " 1...", bc_map; sleep 1000; .start = 4; mapannounce "1@dth3", .npc$ + " Betting is now closed !!!", bc_map; sleep 7000; mapannounce "1@dth3", .npc$ + " Let's get ready to RUMBLE !!!", bc_map; .@mid = .MVP[rand(.size)]; monster "1@dth3", 68, 68, "MVP A", .@mid, 1, strnpcinfo(1) + "::OnDie1", Size_Small, AI_NONE; .ma = $@mobid; monster "1@dth3", 71, 68, "MVP B", .@mid, 1, strnpcinfo(1) + "::OnDie2", Size_Small, AI_ATTACK; .mb = $@mobid; unitattack .ma, .mb; unitattack .mb, .ma; end; OnDie1: unittalk .mb, "[MVP B] Mwahaha!~ Such a weak opponent!"; sleep 7000; killmonster "1@dth3", "All"; .start = 0; addrid(5, 0, "1@dth3"); if (2 == @mvp_bet) { message strcharinfo(0),"Congratulations! You won the event, Good choice!"; Zeny += .bet_rewd; } @mvp_bet = 0; setpcblock PCBLOCK_ATTACK | PCBLOCK_IMMUNE, false; warp "SavePoint", 0, 0; end; OnDie2: unittalk .ma, "[MVP A] Mwahaha!~ Such a weak opponent!"; sleep 7000; killmonster "1@dth3", "All"; .start = 0; addrid(5, 0, "1@dth3"); if (1 == @mvp_bet) { message strcharinfo(0),"Congratulations! You won the event, Good choice!"; Zeny += .bet_rewd; } @mvp_bet = 0; setpcblock PCBLOCK_ATTACK | PCBLOCK_IMMUNE, false; warp "SavePoint", 0, 0; end; OnEventBet: mes .npc$; if (!.start) mes "The event is not active."; else if (.start != 3) mes "The event cannot accept bets at the moment."; else if (Zeny < .bet_cost) mes "You don't have enough zeny to make a bet."; else if (@mvp_bet) mes "You already placed your bet."; else if (strcharinfo(3) != "1@dth3") mes "Hmm~"; else { mes "Which mvp will you bet on this match???"; next; .@s = select("MVP A:MVP B"); mes .npc$; mes "Are you sure you want to bet " + F_InsertComma(.bet_cost) + " on " + (.@s == 1 ? "MVP A" : "MVP B") + "?"; next; if (select("Yes:No") & 2) end; if (.start != 3) { // in case they delay the select ??? setpcblock PCBLOCK_ATTACK | PCBLOCK_IMMUNE, false; warp "SavePoint", 0, 0; end; } mes .npc$; mes "Good luck and have fun!"; Zeny -= .bet_cost; @mvp_bet = .@s; } end; OnEventJoin: if (!.start) message strcharinfo(0), "The event is not active."; else if (.start != 1) message strcharinfo(0), "The event is not yet allowing participants to enter."; else { setpcblock PCBLOCK_ATTACK | PCBLOCK_IMMUNE, true; switch (rand(1,4)) { case 1: warp "1@dth3", 49, 50; break; case 2: warp "1@dth3", 49, 88; break; case 3: warp "1@dth3", 89, 88; break; case 4: warp "1@dth3", 89, 50; break; } } end; OnInit: bindatcmd "mvpjoin", strnpcinfo(1) + "::OnEventJoin"; bindatcmd "mvpbet", strnpcinfo(1) + "::OnEventBet"; bindatcmd "mvpstart", strnpcinfo(1) + "::OnStart", 99, 99; // List of MVP's setarray .MVP[0], 1112, 1115, 1147, 1150, 1157, 1159; .size = getarraysize(.MVP); .npc$ = "[MVP vs MVP Event]"; .bet_cost = 5000; // 5,000z to bet in the event .bet_rewd = 1000000; // 1,000,000z if bet wins end; } 1@dth3 mapflag monster_noteleport 1@dth3 mapflag noskill 1@dth3 mapflag noloot 1@dth3 mapflag noitemconsumption 1@dth3 mapflag nomemo 1@dth3 mapflag nosave SavePoint 1@dth3 mapflag nowarpto 1@dth3 mapflag nowarp 1@dth3 mapflag noteleport
works like a charm! thanks!!
one last question
i tried changing the bet and reward into credits which is id 3050,
i put the bet placement inQuoteif (select("Yes:No") & 2) end; if (.start != 3) { // in case they delay the select ??? setpcblock PCBLOCK_ATTACK | PCBLOCK_IMMUNE, false; warp "SavePoint", 0, 0; end; } mes .npc$; mes "How much will you bet? ^FF0000[[Maximum of 300 Credits]^000000"; input .@betamount; if(.@betamount < 1 || .@betamount > countitem(3050)) mes "You don't have enough credits!."; else if(.@betamount > 300) mes "Max of 300 credits only."; mes "Good luck and have fun!"; delitem 3050,.@betamount; @mvp_bet = .@s;
i put the reward under
Quoteif (1 == @mvp_bet) { message strcharinfo(0),"Congratulations! You won the event, Good choice!"; getitem 3050, 2*.@betamount; } if (2 == @mvp_bet) { message strcharinfo(0),"Congratulations! You won the event, Good choice!"; getitem 3050, 2*.@betamount; }
the bet placement is working, where it will deduct the credit from inventory,
but the reward when won is not given, can you pinpoint where I did wrong? thanks a lot!! -
3 hours ago, Patskie said:
Try below script. I didn't test it too much
- script MVP_vs_MVP FAKE_NPC,{ OnMinute00: if (gettime(DT_HOUR) % 2 || .start) end; goto OnStart; end; OnStart: mapwarp "1@dth3", "prontera", 150, 150; killmonster "1@dth3", "All"; .start = 1; announce .npc$ + " We are going to have a MVP vs MVP Event.", bc_all; sleep 7000; announce .npc$ + " For those who want to join, you can participate by using @mvpjoin", bc_all; sleep 7000; announce .npc$ + " We will start the event after 1 minute", bc_all; sleep 60000; announce .npc$ + " The entry to the event is now closed", bc_all; .start = 2; sleep 7000; if (getmapusers("1@dth3") < 1) { announce .npc$ + " Not enough participants to continue the event", 0; .start = 0; end; } mapannounce "1@dth3", .npc$ + " The rules for this event is simple", bc_map; sleep 7000; mapannounce "1@dth3", .npc$ + " Two MVP's will spawn at the center of the map and will attack each other", bc_map; sleep 7000; mapannounce "1@dth3", .npc$ + " Before these MVP's spawn, I will give you 1 minute to make a bet", bc_map; sleep 7000; mapannounce "1@dth3", .npc$ + " The bet cost for this event is " + F_InsertComma(.bet_cost) + "z and when your chosen MVP wins you'll get as much as " + F_InsertComma(.bet_rewd) + "z !!!", bc_map; sleep 7000; mapannounce "1@dth3", .npc$ + " All good?? Let's start betting !!!", bc_map; sleep 7000; mapannounce "1@dth3", .npc$ + " To make a bet please use @mvpbet command, I will give 1 minute for you guys to make a bet", bc_map; .start = 3; sleep 55000; mapannounce "1@dth3", .npc$ + " Betting will close in 5...", bc_map; sleep 1000; mapannounce "1@dth3", .npc$ + " 4...", bc_map; sleep 1000; mapannounce "1@dth3", .npc$ + " 3...", bc_map; sleep 1000; mapannounce "1@dth3", .npc$ + " 2...", bc_map; sleep 1000; mapannounce "1@dth3", .npc$ + " 1...", bc_map; sleep 1000; .start = 4; mapannounce "1@dth3", .npc$ + " Betting is now closed !!!", bc_map; sleep 7000; mapannounce "1@dth3", .npc$ + " Let's get ready to RUMBLE !!!", bc_map; .@mid = .MVP[rand(.size)]; monster "1@dth3", 68, 68, "MVP A", .@mid, 1, strnpcinfo(1) + "::OnDie1", Size_Small, AI_NONE; .ma = $@mobid; monster "1@dth3", 71, 68, "MVP B", .@mid, 1, strnpcinfo(1) + "::OnDie2", Size_Small, AI_ATTACK; .mb = $@mobid; end; OnDie1: unittalk .mb, "[MVP B] Mwahaha!~ Such a weak opponent!"; sleep 7000; killmonster "1@dth3", "All"; .start = 0; addrid(5, 0, "1@dth3"); if (2 == @mvp_bet) { message strcharinfo(0),"Congratulations! You won the event, Good choice!"; Zeny += .bet_rewd; } @mvp_bet = 0; setpcblock PCBLOCK_ATTACK | PCBLOCK_IMMUNE, false; warp "SavePoint", 0, 0; end; OnDie2: unittalk .ma, "[MVP A] Mwahaha!~ Such a weak opponent!"; sleep 7000; killmonster "1@dth3", "All"; .start = 0; addrid(5, 0, "1@dth3"); if (1 == @mvp_bet) { message strcharinfo(0),"Congratulations! You won the event, Good choice!"; Zeny += .bet_rewd; } @mvp_bet = 0; setpcblock PCBLOCK_ATTACK | PCBLOCK_IMMUNE, false; warp "SavePoint", 0, 0; end; OnEventBet: mes .npc$; if (!.start) mes "The event is not active."; else if (.start != 3) mes "The event cannot accept bets at the moment."; else if (Zeny < .bet_cost) mes "You don't have enough zeny to make a bet."; else if (@mvp_bet) mes "You already placed your bet."; else if (strcharinfo(3) != "1@dth3") mes "Hmm~"; else { mes "Which mvp will you bet on this match???"; next; .@s = select("MVP A:MVP B"); mes .npc$; mes "Are you sure you want to bet " + F_InsertComma(.bet_cost) + " on " + (.@s == 1 ? "MVP A" : "MVP B") + "?"; next; if (select("Yes:No") & 2) end; if (.start != 3) { // in case they delay the select ??? setpcblock PCBLOCK_ATTACK | PCBLOCK_IMMUNE, false; warp "SavePoint", 0, 0; end; } mes .npc$; mes "Good luck and have fun!"; Zeny -= .bet_cost; @mvp_bet = .@s; } end; OnEventJoin: if (!.start) message strcharinfo(0), "The event is not active."; else if (.start != 1) message strcharinfo(0), "The event is not yet allowing participants to enter."; else { setpcblock PCBLOCK_ATTACK | PCBLOCK_IMMUNE, true; switch (rand(1,4)) { case 1: warp "1@dth3", 49, 50; break; case 2: warp "1@dth3", 49, 88; break; case 3: warp "1@dth3", 89, 88; break; case 4: warp "1@dth3", 89, 50; break; } } end; OnInit: bindatcmd "mvpjoin", strnpcinfo(1) + "::OnEventJoin"; bindatcmd "mvpbet", strnpcinfo(1) + "::OnEventBet"; bindatcmd "mvpstart", strnpcinfo(1) + "::OnStart", 99, 99; // List of MVP's setarray .MVP[0], 1112, 1115, 1147, 1150, 1157, 1159; .size = getarraysize(.MVP); .npc$ = "[MVP vs MVP Event]"; .bet_cost = 5000; // 5,000z to bet in the event .bet_rewd = 1000000; // 1,000,000z if bet wins end; } 1@dth3 mapflag monster_noteleport 1@dth3 mapflag noskill 1@dth3 mapflag noloot 1@dth3 mapflag noitemconsumption 1@dth3 mapflag nomemo 1@dth3 mapflag nosave SavePoint 1@dth3 mapflag nowarpto 1@dth3 mapflag nowarp 1@dth3 mapflag noteleport
during the fight, the map got crashed...
-
anyone has a working source edit for whitesmith parry?
enable use of lv 10 Parry when soul link when using mace.
-
hello! anyone has a working script of a monster vs monster?
i want to make it automated and players can bet on which monster who will win.
but just a working script of monster vs monster will be much appreciated.
thanks in advance!!
-
8 hours ago, Kreustoo said:
Hello,
Add a 1 cell wall and tp the player inside/outside using a ontouch?can i have an example how to do that? new to scripting sorry..
-
Hello!
I've a gold room script and I wanted to mark the center of the map in ordeal_3-2 as safe zone from monsters and pvp
I added this on OnInit:
setcell "ordeal_3-2",146,146,160,161,cell_basilica,1;
player's can't attack each other (so it's working fine)
but the monsters is still following and attacking the player, although it's 100% missinganyway to stop the monster from attacking?
-
1 hour ago, HaARiZz said:
Hello @tokenacc001
I can confirm that this is client side problem.
Did you give lite client or full client to your friend?
Please ask you friend to use your full client in order to see what you can see.
37 minutes ago, Chaos92 said:Should be because of their Full Client files (outdated) or your lite client files (if its custom items).
fixed, hehe thanks guys!
-
what could be the possible reason for other players can't see the sprite of headgears when equipped, but I can?
they don't have any errors, just can't see the headgears
edit: i gave them the copy of my folder, but still they can't see any of the headgears -
hello master scripters!can anyone help me make this kind of event?
when the event start, there will be 5 portals spawned, 1 will proceed to the next round, 4 will warp the player back to save points,
each correct portal they enter will give the player cash point as reward, the event will continue for 3 rounds. -
I've tried this
but it's always giving me "Nobody is selling it now."
then I tried this
https://pastebin.com/5Kwt41h6
it's working but, I prefer the output is showing ALL available vendors, since sometimes when a vendor reaches maximum credit and his shop still has item, it will be still vending.
thanks in advance!
edit: i think i posted in the wrong section.. i'm sorry! how to delete this T_T -
4 minutes ago, Patskie said:
Did you recompile your server?
yes i did
-
9 hours ago, Patskie said:
I don't think it will be hard as per your claim
Go to src/map/clif.cpp and change below from
// prevent leaking the presence of GM-hidden objects if( sc && sc->option&OPTION_INVISIBLE ) target = SELF;
to
// prevent leaking the presence of GM-hidden objects if( (sc && sc->option&OPTION_INVISIBLE) || !val ) target = SELF;
Recompile and re-test the script given by @Poring King . above change will work globally so use at your own risk.
didn't work
it just work like a regular changelook, other players can't see the command user's headgear, and the command user can still see other player's headgear
-
On 9/16/2017 at 3:46 PM, crazyarashi said:
//Simple HG Hiding by crazyarashi - script Invisible -1,{ OnAtCommand: .@npc$ = "["+ strnpcinfo(1) +"]"; mes .@npc$; mes "Hello, "+strcharinfo(0); mes "Which headgear do you want to hide?"; next; setarray .@hgmenu$, "Top Headgear", "Middle Headgear", "Lower Headgear"; .@menu$ = implode(.@hgmenu$, ":"); .@i = select( .@menu$ ) - 1; .@equip = getequipid(.location$[.@i]); if( .@equip != getequipid(.location$[.@i])) { mes .@npc$; mes "You're not wearing any headgear"; close; } else { atcommand "@"+ .looks$[.@i]; dispbottom .@hgmenu$[.@i] +" is now hidden"; end; } OnInit: setarray .location$, "EQI_HEAD_TOP", "EQI_HEAD_MID", "EQI_HEAD_LOW"; setarray .looks$, "changelook 1 0", "changelook 2 0", "changelook 3 0"; bindatcmd "hidehg",strnpcinfo(0)+"::OnAtCommand"; }
Try this i added a menu of what you want to headgear you want to hide and added a bindcommand (change the command if you want)
haven't tested it though :))
probably upon logout the item will show again.hello! using this can it be made into
all headgear worn by other players will also be hidden in the player who used this command? -
10 hours ago, TheKingDino said:
This would be a lot of work and unless it's already been done I doubt someone is gonna do it for free. I've looked around a lot for something like this in the past and never found it.
This would require client-side modification on top of the c++ coding to install the AT command, which is the easier part.
I know this isn't really helpful. But there is a costume item called Invisible Hat, Invisible Sunglasses, and Invisible Mask(dont remember the real name).
https://www.divine-pride.net/database/item/31292/unknown-item-31292
So at the very least you could make an NPC or command that hands these out so a single player has the freedom to hide their own headgears. But it's hardly a solution.do you have idea on how to do that? willing to pay... really need this feature.
-
hello!
Anyone can help me make a command that will hide all player's headgear (only on the side of player who use the command), but still equipped?Thanks a lot!!
Edit: not sure if this is allowed but: willing to pay for it... really need this feature -
On 7/12/2013 at 12:16 AM, Stolao said:
< Stolao's Pvp Ladder>
Features:
- A Dynamic Pvp Ladder
Todo:
- Suggestions?
- Optimize?
Changelog:
3.00 Overhaul 3.01 Fixed missing "No" for "No Ygg" 3.02 Added Show Map Name Option 3.03 Added Max Players Option 3.04 Optimized and fixed SQL queries [Secret] 3.05 Replaced some queries with addrid(0) 3.06 Updated Rewards to RODEX compatable 3.07 Fixed all rom referancing room [0] player limit 3.08 Made Made .MaxPlayers = 0, mean unlimited 3.09 Removed use of getd 3.0A Cleaned up some code 3.0B Moved Menu Generation to fix Map Count not showing 3.0C Actually Added RoDex Support now 3.0D Fixed Map Menu Generation 3.0E Fixed sql query 3.0F Cleaned Code a bit 3.10 Did more Cleaned Code a bit 3.11 Fixed a logic bug in GM reset 3.12 Added Waiting Room 3.13 Added Dynamic Waiting Room 3.14 Moved and added more At_Commands 3.15 Dynamic Waiting Room (&4096) require Waiting Room (&2048) to work 3.16 Increased Waiting Room Rotation Time 3.17 Fixed Typos in Reset PVP Stats 3.18 Removed unnessisary next, creating hang screens 3.19 Made compatable with new mail command 3.1A Reformatted Rewards in conf to support 5 items
Links:
- Latest Pvp Ladder
hello! about the Monthly PVP Ladder option in the script...
i'm getting [-1 kills ] and [0 deaths]
instead of [0 kills ] and [1 death]
how to fix this please.
KDA disabled -
anyone know how to fix this?
[Error]: status_read_soullink_db: Cannot load custom soul link buffs from db/soul_link.yml.
[Info]: status_read_soullink_db: Done reading 0 custom soul links.
Edit: FixedUh.. another problem...
is the autobonus3 not working in the soul_link.yml?
i got these effect working in the item_db.txt, then move it to the soul_link.yml, but it's not working anymore.
autobonus3 "{ bonus bStr,10; bonus bDex,10; bonus bFlee,15; }",1000,158400,459,"{ }";
autobonus3 "{ if(getskilllv(486)==5) { bonus bAtkRate,200; } }",1000,180000,486,"{ }";
any help on this please. -
-
14 minutes ago, sotf said:
Wow hi okay, I made this long ago! Haha anyways, replace all .delay with #delay and try again.
yeah 7 years ago, it's my first time creating a server, and saw this when i'm searching for a broadcast npc. didn't expect you to reply this fast tho. xD
it worked! thanks a lot man!!
-
On 12/7/2013 at 8:30 PM, sotf said:
Hi rAthena! I'm here to share a Broadcast Script that I edited.
( original thread: http://rathena.org/board/topic/66794-broadcaster/ )
//Broadcast NPC prontera,159,181,5 script Broadcaster 858,{ if (.delay > gettimetick(2)) { mes "============================="; mes "Wait for 2 minutes to pass before you can use this service again."; mes "============================="; close; } mes "============================="; mes "Broadcast Fee:"; mes "Normal Color(white): 90,000z"; mes "Custom Color: 150,000z"; mes "Random Color: 100,000z"; mes "============================="; mes "Cooldown: 2 minutes"; mes "============================="; menu "Broadcast",yes,"Cancel",no; yes: if(Zeny < 100000) goto nozeny; next; mes "============================="; mes "Select broadcast type:"; mes "============================="; menu "Normal",normal,"Custom Color",custom,"Random Color",random,"Cancel",-; next; mes "============================="; mes "Broadcast Cancelled."; mes "============================="; close; normal: next; mes "============================="; mes "Input message:"; mes "============================="; input @message$; set Zeny,Zeny-90000; announce "[Shout] "+strcharinfo(0)+": "+@message$+" ",bc_all,0xFFFFFF; set .delay, gettimetick(2) + 120; close; custom: next; mes "============================="; mes "Input Color:"; mes "^ffffff.^000000"; mes "Format: ^ff0000XX^00ff00YY^0000ffZZ^000000"; mes "VALUES MUST BE 0123456789ABCDEF ONLY"; mes "============================="; input @color$; if(getstrlen(@color$) == 6) { set @scolor$,substr(""+@color$+"", 0,5); set .z1$,substr(""+@scolor$+"", 0,0); set .z2$,substr(""+@scolor$+"", 1,1); set .z3$,substr(""+@scolor$+"", 2,2); set .z4$,substr(""+@scolor$+"", 3,3); set .z5$,substr(""+@scolor$+"", 4,4); set .z6$,substr(""+@scolor$+"", 5,5); next; if( .z1$ == "1" || .z1$ == "2" || .z1$ == "3" || .z1$ == "4" || .z1$ == "5" || .z1$ == "6" || .z1$ == "7" || .z1$ == "8" || .z1$ == "9" || .z1$ == "0" || .z1$ == "a" || .z1$ == "b" || .z1$ == "c" || .z1$ == "d" || .z1$ == "e" || .z1$ == "f" ) {if( .z2$ == "1" || .z2$ == "2" || .z2$ == "3" || .z2$ == "4" || .z2$ == "5" || .z2$ == "6" || .z2$ == "7" || .z2$ == "8" || .z2$ == "9" || .z2$ == "0" || .z2$ == "a" || .z2$ == "b" || .z2$ == "c" || .z2$ == "d" || .z2$ == "e" || .z2$ == "f" ) {if( .z3$ == "1" || .z3$ == "2" || .z3$ == "3" || .z3$ == "4" || .z3$ == "5" || .z3$ == "6" || .z3$ == "7" || .z3$ == "8" || .z3$ == "9" || .z3$ == "0" || .z3$ == "a" || .z3$ == "b" || .z3$ == "c" || .z3$ == "d" || .z3$ == "e" || .z3$ == "f" ) {if( .z4$ == "1" || .z4$ == "2" || .z4$ == "3" || .z4$ == "4" || .z4$ == "5" || .z4$ == "6" || .z4$ == "7" || .z4$ == "8" || .z4$ == "9" || .z4$ == "0" || .z4$ == "a" || .z4$ == "b" || .z4$ == "c" || .z4$ == "d" || .z4$ == "e" || .z4$ == "f" ) {if( .z5$ == "1" || .z5$ == "2" || .z5$ == "3" || .z5$ == "4" || .z5$ == "5" || .z5$ == "6" || .z5$ == "7" || .z5$ == "8" || .z5$ == "9" || .z5$ == "0" || .z5$ == "a" || .z5$ == "b" || .z5$ == "c" || .z5$ == "d" || .z5$ == "e" || .z5$ == "f" ) {if( .z6$ == "1" || .z6$ == "2" || .z6$ == "3" || .z6$ == "4" || .z6$ == "5" || .z6$ == "6" || .z6$ == "7" || .z6$ == "8" || .z6$ == "9" || .z6$ == "0" || .z6$ == "a" || .z6$ == "b" || .z6$ == "c" || .z6$ == "d" || .z6$ == "e" || .z6$ == "f" ) goto zcustom;} else { goto xcustom; }} else { goto xcustom; }} else { goto xcustom; }} else { goto xcustom; }} else { goto xcustom; } close; } else { goto xcustom; } close; random: next; set .random1, rand(0,15); set .random2, rand(0,15); set .random3, rand(0,15); set .random4, rand(0,15); set .random5, rand(0,15); set .random6, rand(0,15); set .c1$, charat("1234567890abcdef", .random1); set .c2$, charat("1234567890abcdef", .random2); set .c3$, charat("1234567890abcdef", .random3); set .c4$, charat("1234567890abcdef", .random4); set .c5$, charat("1234567890abcdef", .random5); set .c6$, charat("1234567890abcdef", .random6); mes "============================="; mes "Your message will be in RANDOM COLOR"; mes "Input message:"; mes "============================="; input @message$; set Zeny,Zeny-100000; atcommand "@kamic "+.c1$+""+.c2$+""+.c3$+""+.c4$+""+.c5$+""+.c6$+" [Shout] "+strcharinfo(0)+": "+@message$+" "; set .delay, gettimetick(2) + 120; close; no: next; mes "============================="; mes "Broadcast Cancelled"; mes "============================="; close; zcustom: next; mes "============================="; mes "Input message:"; mes "============================="; input @message$; set Zeny,Zeny-150000; atcommand "@kamic "+@scolor$+" [Shout] "+strcharinfo(0)+": "+@message$+" "; set .delay, gettimetick(2) + 120; close; xcustom: next; mes "============================="; mes "Wrong Format."; mes "============================="; close; nozeny: next; mes "============================="; mes "Not enough Zeny"; mes "============================="; close; end; }
Features:
- 3 types of broadcast:
- Normal : white color broadcast
- Custom: you'll have to input the color that you want (RRGGBB format)
- Random: the NPC will choose a random color for you
- Delay after another usage (2 minutes)
broadcast will look like this:
The script is quite long due to the fact that I have to restrict the usage of other characters other from 1234567890abcdef because I have to use this:
If anyone knows how to minimize that part of the code(the z variables part), it would be great
Please do let me know how can I make this script better.
My edit is a bit amatuer-ish, I know. But I hope you like it
thanks for this! it's working quite fine.
but i have a concern, i think i can't broadcast for 3 minutes using second account after i broadcast using first account. -
4 hours ago, pueblodefairy said:
emulator/ renewal/ conf / battle / client
// Save body styles. (Note 1)
// Note: Don't turn this on unless you know what you are doing.
// Sprites are not released officially.
save_body_style: yesoh thanks! it worked.
-
On 2/27/2019 at 10:19 AM, pueblodefairy said:
thanks a lot i fixed it really easy. I really appreciate your help
hello, may i know what you did to fix the problem where the sprite reverted to before after logging out?
-
1 hour ago, Bringer said:
patch it manual
can you teach me how to do it? first time doing this. hehe
Help> Texas HoldEm Poker
in Scripting Support
Posted · Edited by tokenacc001
hello masters!
saw this script on a forum, but it only works until waiting for player, after the game start, it stuck.
can anyone fix this script?
thanks in advance!!