-
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
-
the number of the monsters hp as i think is an int32 (not only the monsters use this number i think) so you would need to change that to int64 but i think this number would be used for a lot of calculation and this would make you editing all of it xD ofc i don't have the full information to what you do and what to edit but just to give you a general knowledge also maybe someone have an already pre-made patch for this or even maybe there is an option that already in rathena for that but i am not aware of it hopefully someone here can help
-
i just don't understand how this is a script request !! moved to the right section
-
you can try illustrator or make sure that the pink is not on the photo when you add it (pixel by pixel in this case i think) maybe there is better option but i am not a designer xD ,hopefully someone have better answer
-
i don't think so
-
make sure you did add the view id in the item db and also make sure that the files is in your client (if you put a drop act/spr in the male folder you wont get any error and you wont see the headgear ingame , maybe if it's big you may see it under the char foot)
-
show me the item info lines for this item and did you add the item in the accessoryid,accname ?
-
Moved to the right section be careful next time please
-
you are missing the drop act/spr get that and you will get another problem in your iteminfo but that issue can be fixed after you get the drop act/spr
-
sorry first time i forgot a line xD than when edit my reply i messed it up so i end up editing until 4 times :X i am pretty sure you know better than me in scripting and i don't really (know/think) that selecting from char_reg_num would do anything but i would be more careful in the future (also i have bad grammar so i edit my posts a lot )
-
[Solved]how to change RagexeRE default language?
sader1992 replied to a85771416's question in Client-side Support
check out this and also in the sclientinfo.xml this line <langtype>0</langtype> see here https://github.com/rathena/rathena/wiki/Clientinfo.xml +-----+------------------------+-------------------+ | int | enum SERVICETYPE | "servicetype" tag | +-----+------------------------+-------------------+ | 0 | SERVICETYPE_KOREA | korea | | 1 | SERVICETYPE_AMERICA | america | | 2 | SERVICETYPE_JAPAN | japan | | 3 | SERVICETYPE_CHINA | china | | 4 | SERVICETYPE_TAIWAN | taiwan | | 5 | SERVICETYPE_THAI | thai | | 6 | SERVICETYPE_INDONESIA | indonesia | | 7 | SERVICETYPE_PHILIPPINE | philippine | | 8 | SERVICETYPE_MALAYSIA | malaysia | | 9 | SERVICETYPE_SINGAPORE | singapore | | 10 | SERVICETYPE_GERMANY | germany | | 11 | SERVICETYPE_INDIA | india | | 12 | SERVICETYPE_BRAZIL | brazil | | 13 | SERVICETYPE_AUSTRALIA | australia | | 14 | SERVICETYPE_RUSSIA | russia | | 15 | SERVICETYPE_VIETNAM | vietnam | | 17 | SERVICETYPE_CHILE | chile | | 18 | SERVICETYPE_FRANCE | france | | 19 | SERVICETYPE_UAE | uae | +-----+------------------------+-------------------+ -
prontera,159,185,4 script PVP Rank 100,{ mes "[PVP Rank]"; .@rank = query_sql( "select `char_id`, `value` from `char_reg_num` where `key` = 'PVPPoints' AND `value` > '0' order by `value` DESC", .@char_id, .@pvp_points ); for(.@i=0;.@i<.@rank;.@i++){ query_sql( "select `name` from `char` where `char_id` = '" + .@char_id[.@i] + "'", .@name$ ); mes (.@i + 1) + " " + .@name$ + " Have " + .@pvp_points[.@i] + " PVP Points"; } end; OnPCKilLEvent: if(strcharinfo(3) == "prontera"){ .@points = rand(100,1000); PVPPoints += .@points; dispbottom "You get ^FF0000" + .@points +"^000000 Points. Total =^FF0000" + PVPPoints +"^000000 Points."; } end; OnPCDieEvent: if(killerrid >= 2000000) if(strcharinfo(3) == "prontera"){ PVPPoints -= rand(100,1000); dispbottom "Total =^FF0000" + PVPPoints +"^000000 Points."; if(PVPPoints < 0) PVPPoints = 0; } end; } i just meant something like this @AnnieRuru
-
i suggest you just use character variables , it's better for your script if you still want using sql `points` = `points` + "+rand(10,20 you need to select the points and assign it to a variable than you say .@variable += rand(10,20); `points` = '" + .@variable + "'
-
View File who4 command script for gepard this only for GePard this command allow you to see how many players per PC connected to the server something like this if someone have for example 2 account opened the first named name1 and 2nd name2 it will show (the unique id from gepard) + name1 name2 wont be shown in the list and the number of players found is the number of the unique ids that connected to the server so maybe @who3 have 9999 players and @who4 have 10 players mean there is 10 PCs connected to the server no more Submitter sader1992 Submitted 06/03/2018 Category Utilities Video Content Author sader1992
-
Version 1.0.0
322 downloads
this only for GePard this command allow you to see how many players per PC connected to the server something like this if someone have for example 2 account opened the first named name1 and 2nd name2 it will show (the unique id from gepard) + name1 name2 wont be shown in the list and the number of players found is the number of the unique ids that connected to the server so maybe @who3 have 9999 players and @who4 have 10 players mean there is 10 PCs connected to the server no moreFree -
also moved to the right section
-
MOVED to the right section also try to use grf editor if your iteminfo is encrypted or download item info from the English project see this https://rathena.org/board/topic/102689-ragnarok-english-translation-project/
-
i would tell you how but you must know that there is more dynamic ways to do that so this is the code switch(select("prontera", "alberta " + ((!#alberta_plat)?"^E82D0B[Lucked]^000000":"^05FF00[UnLucked]^000000"), "goldroom", "Other")) { case 1: if (#alberta_plat == 1) { warp("alberta", 49, 241); end; } if (#alberta_plat == 0) { next; mes "Sorry but you did not unlock that platform yet"; close; end; } } you see i added this line next to the option ((!#alberta_plat)?"^E82D0B[Lucked]^000000":"^05FF00[UnLucked]^000000") this mean if(!#alberta_plat){ //#alberta_plat == 0 //the option will be "alberta ^E82D0B[Lucked]^000000" }else{ //#alberta_plat == 1 or more than 1 //the option will be "alberta ^05FF00[UnLucked]^000000" } you can do this too ((#alberta_plat == 0)?"^E82D0B[Lucked]^000000":"^05FF00[UnLucked]^000000") and for the color code use this https://color.adobe.com/create/color-wheel/
-
message strcharinfo(0),"Purchased "+getarraysize( @bought_nameid )+" Items."; mes "Thank you for shopping."; this where the player finish the buying so put the announcer line here and it should work the items id is an array @bought_nameid[] and the items count is array @bought_quantity[] to get the item name getitemname(@bought_nameid[]) ofc you can do anything if you know the command for it
-
if you use wine i think gepard use not only GePard.dll to run also more dlls so add all the dlls in the client folder to it to run ofc i am not sure but you can give it a try
-
sc_start(src, bl, type, rate, val1, tick) the last is time or tick i think -1 for infinite (not sure)
-
you can but well you need to be careful you can't (everything possible in reverse engineering but you need to fine someone to do it) same as 2 nemo
-
the easiest way is rewrite an existing npc that you don't use ? in my opinion npcs are same as mobs you need id to add (search about how to add a custom mob for more info) but if you just rename your custom npc (to the name that you don't need) and add the npc to the npcs folder everything would work with no time
-
also it would be better to organize your script gonryun,177,118,3 script Instant +10 TCG 950,{ disable_items; mes "What item do you want to be refined?"; next; for(.@i=1;.@i<getarraysize(.pos);++.@i){ if(getequipisequiped(.pos[.@i])){ .@equips$ += F_getpositionname(.pos[.@i]) + " [ " + getequipname(.pos[.@i]) + " ]"; } .@equips$ += ":"; } .@part = .pos[select(.@equips$)]; if(!getequipisenableref(.@part)) { mes "Go find another Blacksmith. You can't refine this thing."; close; } if(countitem(7227) < 1) { mes "You are missing 1 TCG Cards"; close; } if(getequiprefinerycnt(.@part) >= 7){ mes "+10 Item cannot be refined anymore."; close; }else{ delitem 7227,1; successrefitem .@part,10; mes "Clang Clang! Success!"; close; } end; OnInit: setarray .pos[1],EQI_HEAD_TOP, EQI_ARMOR, EQI_HAND_L, EQI_HAND_R, EQI_GARMENT, EQI_SHOES, EQI_HEAD_MID, EQI_HEAD_LOW; end; }