-
Posts
588 -
Joined
-
Days Won
45
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by Secrets
-
-
File Name: Punching Bag with DPS counter
File Submitter: Secrets
File Submitted: 01 May 2016
File Category: Utilities
Content Author: secretdataz
Update: This script won't work on Hercules and you have to make it work yourself if you want to use it on Hercules.
This is yet another punching bag with DPS counter which I use to experiment with get/setunitdata command.
Feel free to use.Click here to download this file
-
4
-
1
-
-
prontera,163,173,4 script GM Helper 4_F_VALKYRIE,{
if(getgmlevel()<1)end;
mes "[GM Helper]";
mes "Enter char name";
next;
while(!.@id) {
input .@name$;
.@id = getcharid(3,.@name$);
mes "[GM Helper]";
if(!.@id) {
mes "Character not online. Please try again";
next;
continue;
}
}
getitem 7720,5;
mes "Given reward to " + .@name$;
announce .@name$ + " is the winner of the event and has gotten 5 event coins as a reward!",bc_all;
close;
}
-
They are GM's NPC for managing some global variables.
-
prontera,105,81,5 script VIP Manager 833,{
if(getgmlevel()>=99){
mes "[^0000FFVIP NPC^000000]";
mes "Hello, Master, would you like to proceed with your official duties or view the player menu?";
next;
if(select("Take me to the GM menu!:I'd like to view the player menu.")==1) {
mes "[^0000FFSlave-sama^000000]";
mes "Alright, Master, please entire the characters name that you'd like to edit!";
next;
input(.@character$);
if(!getcharid(0,.@character$)) {
mes "[^0000FFVIP NPC^000000]";
mes "Master, I'm sorry but that character doesn't seem to exist.";
emotion e_sob,0;
close;
}
L_Menu:
mes "[^0000FFVIP NPC^000000]";
mes "So you'd like to modify ^0000FF"+.@character$+"^000000, good choice!";
mes "What would you like to do?";
next;
switch(select("Modify players time.:View players vip status.:I'm leaving!")){
case 1:
mes "[^0000FFVIP NPC^000000]";
mes "Input a positive value in minutes to increase VIP status and a negative value to decrease it.";
mes "Put 0 to return.";
next;
input(.@time);
if(!.@time) goto "L_Menu";
vip_time .@time,.@character$;
mes "[^0000FFVIP NPC^000000]";
mes "VIP time updated!";
next;
goto L_Menu;
case 2:
mes "[^0000FFVIP NPC^000000]";
mes vip_status(1,.@character$)?"^0000FF"+.@character$+" is currently a VIP Member.^000000":"^FF0000"+.@character$+" is not a VIP Member.^000000";
mes .@character$+"'s VIP status will expire on ^FF0000"+vip_status(2,.@character$)+"^000000";
mes .@character$+" has "+vip_status(3,.@character$)+" remaining.";
next;
goto L_Menu;
case 3:
mes "[^0000FFVIP NPC^000000]";
mes "Thank you Master please come again!";
close;
}
}
}
mes "Hello, "+strcharinfo(0)+(vip_status(1)||getgmlevel()>=60?"-sama":"")+", what would you like to do?";
set .@pod, countitem(7179);
switch (select("Purchase VIP:View VIP Status:Explain")) {
case 1:
mes "[^0000FFVIP NPC^000000]";
mes "Here you can purchase VIP status for a number of days.";
next;
set @menu, select(.purchase$)-1;
if(.@pod<.cost[@menu]) {
mes "[^0000FFVIP NPC^000000]";
mes "Look, you only have ^0000FF"+.@pod+"^000000 Cash Points, so how about...STOP WASTING MY TIME!";
emotion e_pif,0;
close;
}
mes "[^0000FFVIP NPC^000000]";
mes "You're now an official member of the VIP gang for "+.time[@menu]+" day(s). ^EE82EE<3^000000";
delitem 7179,.cost[@menu];
vip_time(.time[@menu]*1440);
emotion e_lv,0;
close;
case 2:
mes "[^0000FFVIP NPC^000000]";
mes vip_status(1)?"^0000FFYou're currently a VIP Member.^000000":"^FF0000You're not a VIP Member.^000000";
mes "Your VIP status will expire on ^FF0000"+vip_status(2)+"^000000";
mes " ";
mes "You have "+vip_status(3)+" remaining.";
mes "(Year - Month - Day - Hour - Mins)";
close;
case 3:
mes "[^0000FFVIP NPC^000000]";
mes "I'm a VIP too, I shouldn't have to explain myself to you!";
close;
}
end;
OnInit:
setarray .time, 1, 3, 7, 15, 30; //Time in days.
setarray .cost, 10, 30, 70, 150, 250; //Cash?
for(set .@a,0; .@a<getarraysize(.time); set .@a,.@a+1)
set .purchase$, .purchase$+.time[.@a]+" day(s) for "+.cost[.@a]+" cash.:";
}
-
mes "[Mr.Utilities]";
mes "My services cost :";
mes "^000000";
mes "Reset Stats: "+ callfunc("F_InsertComma",.@reset_cost[1] + reset_inc[1]) +"z";
mes "Reset Skills: "+ callfunc("F_InsertComma",.@reset_cost[2] + reset_inc[2]) +"z";
mes "Reset Both: "+ callfunc("F_InsertComma",.@reset_cost[3] + reset_inc[3]) +"z";
next;
.@s = select("Reset Stats:Reset Skills:Reset Both");
mes "[Mr.Utilities]";
if (Zeny < .@reset_cost[.@s] + reset_inc[.@s]) {
mes "Sorry, you don't have enough Zeny.";
close;
}
Zeny -= .@reset_cost[.@s] + reset_inc[.@s];
if ( .@s&1 ) resetstatus;
if ( .@s&2 ) resetskill;
setarray .@reset_inc[0],10000,10000,15000; // Increment rate
reset_inc[.@s] += .@reset_inc[.@s-1];
mes "Thanks for using my services!";
end;
-
you can use unitkill command.
unitkill <GID>; This command will kill a <GID>.
-
1
-
-
sc_end SC_BLESSING; sc_end SC_INCAGI;
You can just do it like this.
what will i do with this sir?
is this an npc or mapflag . sorry no idea.
It's a NPC script command.
-
That would be awesome. With a fully featured custom client implementation we'll have control on both client and server side.
This can lead to some innovative stuff.
-
sc_end SC_BLESSING; sc_end SC_INCAGI;
You can just do it like this.
-
If you really want VS2015, no.
You can fall back to VC++ 2010 Express, though.
I'm not sure if VS2013 supports Win7.
But hey, update your OS. The thing is outdated!
-
Visual Studio 2015 requires Windows 7 with Service Pack 1 update or later.
Make sure you have that update installed.
-
501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,63,2,,,,,,{ if(gettime(3) == 21 /* Hour */ && (gettime(2) >= 15 && gettime(2) <= 45) /* Minute */ )itemheal rand(45,65),0; },{},{}
-
1
-
-
Try updating your src and db to latest version of rA and recompile your server.
-
They are not compatible with NEMO or any diff tool because they are packed exes.
It's from kRO patch server. Here's the link.
Because it's compiled on 2nd of November 2015 but released on 4th. That one is EXACTLY the one you want. There's no 2015-11-02.Hello my friend, thanks for the respond and i know that. however i'm looking for the "EXACT" date of that client. when you hexed it with NEMO it appears in the date with "2015-11-02" so i'm looking for the exact date.
Do you know where can i find this link?
Thank you!
Hey but if i try diff a exe from the ftp kro (example: 2015-11-04aRagexeRE.exe)
this only have a size from 4mb, normal if about 12~14mb and Nemo is closed and show very errors.... ¿how is possible obtain 2015-11-04aRagexeRE.exe working in nemo patcher? thank you
-
You put OnInit label outside the script block. That broke the script.
-
Hello my friend, thanks for the respond and i know that. however i'm looking for the "EXACT" date of that client. when you hexed it with NEMO it appears in the date with "2015-11-02" so i'm looking for the exact date.
Because it's compiled on 2nd of November 2015 but released on 4th. That one is EXACTLY the one you want. There's no 2015-11-02.
Do you know where can i find this link?
Thank you!
It's from kRO patch server. Here's the link.
-
1
-
-
Hello my friend, thanks for the respond and i know that. however i'm looking for the "EXACT" date of that client. when you hexed it with NEMO it appears in the date with "2015-11-02" so i'm looking for the exact date.
Because it's compiled on 2nd of November 2015 but released on 4th. That one is EXACTLY the one you want. There's no 2015-11-02.
-
1
-
-
It's now in acc_reg_num table.
-
What's being shown in the server log when the NPC loads or a player clicks the NPC?
Don't just say `this npc isn't working sir`. That's like going to a doctor and only tell him `I'm not feeling well` without any details.
Anyways, I suspect you just copy-paste the script without checking tabs on the script header.
-
prontera,150,190,4 script PVP Warper 105,{
mes "Hello I can warp you inside the PvP Arena!";
next;
mes "Where do you want to go?";
menu "Normal PvP [" + getmapusers("pvp_y_1-2") + " / 40]",normal,
"No Party PvP [" + getmapusers("pvp_y_2-2") + " / 40]",np;
normal:
if (getmapusers("pvp_y_1-2") > 39) {
mes "The PvP Arena is full";
close;
}
warp "pvp_y_1-2",0,0;
end;
np:
if (getmapusers("pvp_y_2-2") > 39) {
mes "The PvP Arena is full";
close;
}
warp "pvp_y_2-2",0,0;
end;
OnInit:
waitingroom "PvP Arena",0;
end;
}
geffen,101,71,5 duplicate(PVP Warper) PVP Warper#gef 105
hugel,88,147,5 duplicate(PVP Warper) PVP Warper#hug 105
-
Tree of Savior is sucking me in D:. Although, I do find and implement missing items when I'm bored with grinding.Welcome secret~
I really hope you have more free time in the near future and that your motivation stays like that.
Keep the good work up!
-
If you see something that's off from official behavior. You can always open an issue on Github.
I would love to help! But I dont know where to start =\- Emulation Accuracy
Our top priority of this project should be put towards creating an experience that matches that of the official servers. Right now, we are far from reaching that goal, but with focus on this particular issue, and with the help of people like you, we can close the gap between the official servers and ourselves. While this may never reach 100% accuracy due to constantly changing aspects in official servers, we could definitely do better than where we are right now.
-
1
-
Secreeeeeeeeeeeeeeeeeeeeeeeeeet ;O; !!
Welcome and whaaa, so young! ♥
Glad you're here now, that means I can spamm not only on discord but also here! ahaha~
Thank you~ And yeah, most people didn't expect me to be this young.
-
I just saw someone post an introduction thread and I think I should do so.
Hello everyone! I'm secretdataz.
Some of you might have seen me from the project's commit log.
I'm a 18 year-old computer-science student from Thailand. I've been around RO emulator scene since late eAthena-era not long before its death but haven't really contributed or posted anything.
Recently, I have a lot of free time so I decided to contribute something back to the emulator community. So there goes dem commits!
Finally, I hope to be a new addition to this nice community. Thank you.
Ps.My English is not that good. There are a few thing that I can't express in this post ;(-
1
-
getunitdata
in Scripting Support
Posted
' prefixed variable is instance-bound variable.