-
Posts
1691 -
Joined
-
Last visited
-
Days Won
77
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by sader1992
-
--------------------------------------- *setd "<variable name>",<value>{,<char_id>}; Works almost identically as set, except the variable name is identified as a string and can thus be constructed dynamically. This command is equivalent to: set getd("variable name"),<value>; Examples: setd ".@var$", "Poporing"; mes .@var$; // Displays "Poporing". setd ".@" + .@var$ + "123$", "Poporing is cool"; mes .@Poporing123$; // Displays "Poporing is cool". NOTE: 'char_id' only works for non-server variables. Player with Character ID 'char_id' must be online. --------------------------------------- *getd("<variable name>") Returns a reference to a variable, the name can be constructed dynamically. Refer to 'setd' for usage. This can also be used to set an array dynamically: setarray getd(".array[0]"), 1, 2, 3, 4, 5; Examples: set getd("$varRefence"), 1; set .@i, getd("$" + "pikachu"); --------------------------------------- example: setarray .@x,1,2; setarray .@x1,10,20,30,40,50; setarray .@x2,100,200,300,400,500; for(.@i=0;.@i<getarraysize(.@x);.@i++){ for(.@m=0;.@m<getarraysize(getd(".@x" + .@x[.@i]));.@m++){ debugmes "" + getd(".@x" + .@x[.@i] + "[" + .@m + "]"); } }
-
didn't test it , but i guess this would work 5% .@rate = 5; .@s = ((BaseExp + NextBaseExp)/100); getexp2 (.@s * .@rate),0;
-
as an admin , you shouldn't have heart (¬‿¬) you should reason first! if I follow my heart , I wouldn't give any warning for any violation of the rules in rathena xD , but ofc that wouldn't be reasonable! also sharing PMs normally makes you black listed for a lot of people, how about full private information xD? also how you like it if you didn't pay for the hosting in the next month , they just release all your information , or if you get ban on one of the forums they release all your information ? think about it ?
-
i need script juti/ rebirth Lv99/50 class 2
sader1992 replied to NKCYBER's question in Script Requests
English is dead. please ask your friends to write what you need for you , instead of, i don't really know how did you get to this result ? copy/paste ? -
i think it's you who reported about the issue in github , anyway for anyone who have the same issue , the fix is here https://github.com/rathena/rathena/pull/4552
-
Utility: Freebies NPC with Gepard Function (UniqueID)
sader1992 replied to BeWan's topic in Utility Script Releases
you need to contact @Functor -
menu "Last Warp ^777777["+lastwarp$+"]^000000",-, " ~ Towns",Towns, " ~ Fields",Fields, " ~ Dungeons",Dungeons, " ~ Guild Castles",Castles, " ~ Guild Dungeons",Guild_Dungeons, " ~ Instances",Instances, " ~ Special Areas",Special; if (lastwarp$ == "") message strcharinfo(0),"You haven't warped anywhere yet."; else warp lastwarp$,lastwarpx,lastwarpy; end; to what ever you want you want Towns, Fields and Dungeons menu "Last Warp ^777777["+lastwarp$+"]^000000",-, " ~ Towns",Towns, " ~ Fields",Fields, " ~ Dungeons",Dungeons; if (lastwarp$ == "") message strcharinfo(0),"You haven't warped anywhere yet."; else warp lastwarp$,lastwarpx,lastwarpy; end; for removing the maps that you don't want, you need to remove it manually for example if you want to remove Yuno from the town list it would be from this menu "Prontera",T1, "Alberta",T2, "Aldebaran",T3, "Amatsu",T4, "Ayothaya",T5, "Brasilis",T6, "Comodo",T7, "Dewata",T8, "Eclage",T9, "Einbech",T10, "Einbroch",T11, "El Dicastes",T12, "Geffen",T13, "Gonryun",T14, "Hugel",T15, "Izlude",T16, "Jawaii",T17, "Lasagna",T18, "Lighthalzen",T19, "Louyang",T20, "Lutie",T21, "Malangdo",T22, "Malaya",T23, "Manuk",T24, "Midgarts Expedition Camp",T25, "Mora",T26, "Morroc",T27, "Moscovia",T28, "Nameless Island",T29, "Niflheim",T30, "Payon",T31, "Rachel",T32, "Splendide",T33, "Thor Camp",T34, "Umbala",T35, "Veins",T36, "Yuno",T37; to this menu "Prontera",T1, "Alberta",T2, "Aldebaran",T3, "Amatsu",T4, "Ayothaya",T5, "Brasilis",T6, "Comodo",T7, "Dewata",T8, "Eclage",T9, "Einbech",T10, "Einbroch",T11, "El Dicastes",T12, "Geffen",T13, "Gonryun",T14, "Hugel",T15, "Izlude",T16, "Jawaii",T17, "Lasagna",T18, "Lighthalzen",T19, "Louyang",T20, "Lutie",T21, "Malangdo",T22, "Malaya",T23, "Manuk",T24, "Midgarts Expedition Camp",T25, "Mora",T26, "Morroc",T27, "Moscovia",T28, "Nameless Island",T29, "Niflheim",T30, "Payon",T31, "Rachel",T32, "Splendide",T33, "Thor Camp",T34, "Umbala",T35, "Veins",T36; so Yuno would be removed , "Yuno",T37
-
default on account if you change #HourlyRewards += 1; to HourlyRewards += 1; it would be on char , with the points variable ofc HourlyRewards
-
Requesting Items Scripts for this Cards
sader1992 replied to Gidz Cross's question in Script Requests
@BeWan no need for spamming please , use 1 post to reply -
tur_d03_i.zip
-
use the map files from an older data/rdata
-
read the logs in both your server and your web server.
-
Script event when clone kills another clone
sader1992 replied to Vector's question in Scripting Support
the clone command return the monster gid so you can just save the gid and check for it like .PlayerOneClone = clone("prontera",155,155,"NpcName::OnEvent",1); .PlayerTwoClone = clone("prontera",145,145,"NpcName::OnEvent",2); end; OnEventOne: if(!unitexists(.PlayerOneClone)){ //player one clone is dead } if(!unitexists(.PlayerTwoClone)){ //player two clone is dead } end; also the event name, you can just use different event name for each clone like clone("prontera",155,155,"NpcName::OnEventOne",1); clone("prontera",145,145,"NpcName::OnEventTwo",2); end; OnEventOne: //player one clone is dead end; OnEventTwo: //player two clone is dead end; here a long example : let's clone everyone in prontera , than we check every time one of the mobs are dead we output a debugmes for the char id of the player (i didn't test it , i just wrote it as an example , i don't know even if it will work but technically it should work) getmapunits(BL_NPC,"prontera",.@AID); for(.@i=0;.@i<getarraysize(.@AID);.@i++){ .@s = getarraysize(.charList); .charList[.@s] = convertpcinfo(.@AID[.@i],CPC_CHAR); .mobList[.@s] = clone("prontera",155,155,"NpcName::OnEvent",.charList[.@s]); } end; OnEvent: for(.@i=0;.@i<getarraysize(.mobList);.@i++){ if(.mobList[.@i] && !unitexists(.mobList[.@i])){ //the monster has been found. //we save it. .@charID = .charList[.@i]; .@mobID = .mobList[.@i]; //we delete it from the array. deletearray .charList[.@i],1; deletearray .mobList[.@i],1; //we break out. break; } } //now we have the here .@charID = the player id , .@mobID = the monster gid debugmes "" + .@charID; debugmes "" + .@mobID; -
this check for the items if (countitem(715) < 3 || countitem(938) < 20) { copy/paste as much as you want && = and || = or and this delete the items, also copy/paste delitem 715,3; delitem 938,20; for zeny if(zeny < 10000){ mes "you don't have 10kz"; close; } zeny -= 10000; add it before the item check
-
if you are planing to use the unique id more in the future , i would suggest using this the script would look like this prontera,0,0,0 script rewards 444,{ mes "something"; if(!gepard_int_get("freebies")){ gepard_int_set("freebies",1); mes "here is the rewards"; getitem 502,1; }else{ mes "you already got the freebies rewards"; } close; }
-
as far as i know , skills have their own animation not like normal attack or multi hit attack
-
https://github.com/rathena/rathena/pull/4454
-
check out your mapcache.dat in the server search for how to update your mapcache
-
i don't understand, what is the question ?
-
How to fixed this 5K SP still bug it has no INT on my stats.
sader1992 replied to rondel2015's question in Source Support
i would suggest you upload your job_basehpsp and job_db1 from your prere|re folder , and make sure that those files in the import folder are empty -
the guild id as i told you , you put a guild that owned by you (the gm) so your guild will be the new owner , so when the woe start , non of the guild in the server would own that guild and they will fight for it as like no one own it means if you don't have a guild in your gm account , just create one , and put in it's id
-
- script reset_castle_data -1,{ OnFri2130: //on Friday 9:30 PM , edit this to what you want. .@castle$ = ""; //input the guild castle name (map name like "gefg_cas01"). .@guildID = 0; //if the script didn't work , try to change this to a guild id owned by you. for(.@i = (CD_NONE+1); .@i < (CD_MAX-1); .@i++){ if(.@i == CD_GUILD_ID){ setcastledata .@castle$,.@i,.@guildID; }else{ setcastledata .@castle$,.@i,0; } } end; }
-
i would really suggest you join browedit discord and for faster support for these things https://discord.gg/ma7BkG ofc still hopefully someone would reply with a fix here too.
-
do not use commands like @refresh or something to deattach from the npc while doing/testing quest that include when the script stop your movement / disabled your actions the main reason from this update https://github.com/rathena/rathena/pull/4043 is to prevent this kind of behavior make sure there is nothing to break your interaction with the script , maybe src edit , or something else. in this quest you need to wait for the npc to finish talking ,than you will get the close button to continue your way, if you didn't wait , you will get an error.
-
try this - script reset_castle_data -1,{ OnFri2130: //on Friday 9:30 PM , edit this to what you want. .@castle$ = ""; //input the guild castle name (map name like "gefg_cas01"). .@guildID = 0; //if the script didn't work , try to change this to a guild id owned by you. for(.@i = CD_NONE; .@i < CD_MAX; .@i++){ if(.@i == CD_GUILD_ID){ setcastledata .@castle$,.@i,.@guildID; }else{ setcastledata .@castle$,.@i,0; } } end; }