anjasoleil0
-
Content Count
77 -
Joined
-
Last visited
Posts posted by anjasoleil0
-
-
I have the same problem. Did you have the solution now?
-
Is there a way to set the 'minimum' cast time?
This is for a high rate server, and I want to set the minimum cast time for, lets say; Asura Strike, I want to set the minimum cast time to 0.01 second without changing it's current cast time, so people will still put dex on their stats PLUS we would be able to see asura's cast animation.
Is it possible?
-
Hi, I have this build manager I got from a friend.
The build only saves stats though.
Is there any way I we can make it save and load skills as well?
- script Stats Manager -1,{function Get_Menu; function Save_Build; function Load_Build;set .@BuildCount,10; // Number of builds to useset .@Save,0; // Zeny required to save a buildset .@Load,0; // Zeny required to load a buildset .@Rename,0; // Zeny required to rename a buildset .@MaxLevel,99; // Maximum base level (to prevent stat overflow)if (BaseLevel < .@MaxLevel) { message strcharinfo(0),"You must be level "+.@MaxLevel+" to use this."; }while(1)switch(select("Reset Stats:Reset Skills:Save Build:Load Build:Rename Build:Cancel")) {case 1:resetstatus;message strcharinfo(0),"Stat reset done.";break;case 2:if (BaseLevel == 255 ){message strcharinfo(0),"Cannot skill reset if you're level 255";close;}if (Class == 4064){message strcharinfo(0),"Please unequip the `Mechanic's Headphones+`";close;}resetskill;message strcharinfo(0),"Skill reset done.";break;case 3:if (.@Save) message strcharinfo(0),"It costs "+.@Save+" Zeny to save a build.";set .@Build, Get_Menu(.@BuildCount);if (Zeny<.@Save) { message strcharinfo(0),"Not enough Zeny."; break; }if (getd("Build_"+.@Build+"$")!="") {message strcharinfo(0),"Overwrite previous build #"+.@Build+"?";if(select("Save new build:Cancel")==2) break; }Save_Build(.@Build);message strcharinfo(0),"Type a name for your build.";input getd("Build_"+.@Build+"n$");message strcharinfo(0),"Build #"+.@Build+" ("+getd("Build_"+.@Build+"n$")+") saved.";set Zeny, Zeny-.@Save;break;case 4:if (.@Load) message strcharinfo(0),"It costs "+.@Load+" Zeny to load a build.";set .@Build, Get_Menu(.@BuildCount);if (getd("Build_"+.@Build+"$")=="") {message strcharinfo(0),"No build info found."; break; }if (Zeny<.@Load) { message strcharinfo(0),"Not enough Zeny."; break; }Load_Build(getd("Build_"+.@Build+"$"));message strcharinfo(0),"Build #"+.@Build+" loaded.";set Zeny, Zeny-.@Load;break;case 5:if (.@Rename) message strcharinfo(0),"It costs "+.@Rename+" Zeny to rename a build.";set .@Build, Get_Menu(.@BuildCount);if (getd("Build_"+.@Build+"$")=="") {message strcharinfo(0),"No build info found."; break; }if (Zeny<.@Rename) { message strcharinfo(0),"Not enough Zeny."; break; }message strcharinfo(0),"Type a new name for Build #"+.@Build+" ("+getd("Build_"+.@Build+"n$")+").";input getd("Build_"+.@Build+"n$");message strcharinfo(0),"Build #"+.@Build+" renamed.";set Zeny, Zeny-.@Rename;break;case 6:close; }function Get_Menu {set .@menu$,"";for(set .@i,1; .@i<=getarg(0); set .@i,.@i+1)set .@menu$, .@menu$+"Slot "+.@i+" ("+((getd("Build_"+.@i+"n$")=="")?"^777777empty":"^0055FF"+getd("Build_"+.@i+"n$"))+"^000000):";return select(.@menu$); }function Save_Build {set .@s$,"";for(set .@i,13; .@i<19; set .@i,.@i+1)set .@s$,.@s$+readparam(.@i)+"|";setd "Build_"+getarg(0)+"$", .@s$+StatusPoint;return; }function Load_Build {resetstatus;explode(.@s$,getarg(0),"|");for(set .@i,0; .@i<6; set .@i,.@i+1)statusup2 (.@i+13), atoi(.@s$[.@i])-1;set StatusPoint, atoi(.@s$[6]);return; }} -
-
-
Okay, I added this to my server so when I fakename, party and guild will be shown
https://rathena.org/board/topic/60188-fakename-show-guildparty/
Now I couldnt invite any other players who names we faked. Any thoughts?
It's saying 'The character is not currently online or does not exist'.
-
no takers? bump
-
No solutions?
-
Is it possible to cap the max stats of a character depending on its level?
Like if I want a lvl 50 knight to ONLY have 20 max stats?
Thanks in advance!
-
What is the MySQL data type for the row "birthdate" in the "login" table? It should be DATE. Maybe you have it set to DATETIME?
As of in-game errors, I honestly don't know where and when is used the "birthdate" row. On my server, all accounts have a "0000-00-00" value, which means it probably isn't used.
it IS on datetime... but i haven't change it, shouldn't it be datetime by default? I checked rathena and they too use datetime. And if that's the case, shouldn't I be the only one experiencing this error? Hey thanks for the replies BTW
-
What do you mean by "lots of sql errors" ? Can you post a screenshot?
: DB error - Incorrect date value: '0000-00-00' for column 'birthdate' at row 1
[Debug]: at c:\users\anjo\desktop\server\src\login\account_sql.c:687 - UPDATE `login` SET `userid`=?,`user_pass`=?,`sex`=?,`email`=?,`group_id`=?,`state`=?,`unban_time`=?,`expiration_time`=?,`logincount`=?,`lastlogin`=?,`last_ip`=?,`birthdate`=?,`character_slots`=?,`pincode`=?,`pincode_change`=? WHERE `account_id` = '1'I can run the server and all, I've already finished off the sqls and such, but I get db errors on server side, I'm afraid this would cause errors in-game. Any thoughts?
-
According to MySQL documentation, it is possible to assign a default value to the "datetime" data type since MySQL 5.6.5. Maybe you have an older version?
In the end, it's just the default value. This value should *technically* never appear, so you could just remove the default value :
`time` DATETIME NOT NULL,
Thanks for the reply, but it's not just that, I've been getting lots of sql errors besides that, and I'm not quite sure why, I tried the new git and my old server files, im getting the same error, perhaps I have a different version of sql? but i doubt it,
MySQL Version: 5.7.9 --- my sql -
Error
CREATE TABLE IF NOT EXISTS `charlog` (
`time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
`char_msg` VARCHAR(255) NOT NULL DEFAULT 'char select',
`account_id` INT(11) NOT NULL DEFAULT '0',
`char_id` INT(11) UNSIGNED NOT NULL DEFAULT '0',
`char_num` TINYINT(4) NOT NULL DEFAULT '0',
`name` VARCHAR(23) NOT NULL DEFAULT '',
`str` INT(11) UNSIGNED NOT NULL DEFAULT '0',
`agi` INT(11) UNSIGNED NOT NULL DEFAULT '0',
`vit` INT(11) UNSIGNED NOT NULL DEFAULT '0',
`INT` INT(11) UNSIGNED NOT NULL DEFAULT '0',
`dex` INT(11) UNSIGNED NOT NULL DEFAULT '0',
`luk` INT(11) UNSIGNED NOT NULL DEFAULT '0',
`hair` TINYINT(4) NOT NULL DEFAULT '0',
`hair_color` INT(11) NOT NULL DEFAULT '0'
) ENGINE=MyISAM
#1067 - Invalid default value for 'time'
If I change the value of time, I'm afraid it's gonna cause troubles with the clientside. Any thoughts?
-
bump
-
It's gonna look 100x better if we are able to do that!
-
Is there a way to ALWAYS show the NPC name? (Without hovering your mouse to the NPC itself). If so, How?
Thank you in advance!
-
bump;
-
-
i tried to test it and this is the result, i remember when i used rA and i got the same problem like yours
@@anjasoleil0 maybe try to remove this line
trunk/src/map/skill.c
recompile after changing
[cbox] case GS_DESPERADO:
if (rnd()%100 < src->val1)
skill->attack(BF_WEAPON,ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0);
break;[/cbox]
put // in if (rnd()%100 < src->val1)
I tried it and got the same result, i prolly
case GS_DESPERADO:// if (rnd()%100 < src->val1)skill->attack(BF_WEAPON,ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0);break;default:skill->attack(skill->get_type(sg->skill_id),ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0);}break;andcase GS_DESPERADO:if (rnd()%100 < src->val1)//skill->attack(BF_WEAPON,ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0);// break;//default:skill->attack(skill->get_type(sg->skill_id),ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0);}break;What am I missing?
BTW. Thanks for the reply.
-
wrong link of the video pls put the correct url for the video so that we can see what would be the problem
oops, there you go https://www.youtube.com/watch?v=h48pJ0V9K40
-
-
Level 255
All stats: 200
Weapon a normal garrison [13104]
Normal Bullet [13200]
I'm at jupe_ele
I summoned 100 porings
I cast desperado
Porings are still smiling. (alive)
i think this is the line for that
src/map/skill.c
case GS_DESPERADO:if (rnd()%100 < src->val1)skill->attack(BF_WEAPON,ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0);I'm fairly new at this, what am i suppose to do with those Thanks for the reply BTW.
>>
i think this is the line for that
src/map/skill.c
case GS_DESPERADO:if (rnd()%100 < src->val1)skill->attack(BF_WEAPON,ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0);lockquote>I'm fairly new at this, what am i suppose to do with those Thanks for the reply BTW.
can you post the line on the script?
case GS_DESPERADO:if (rnd()%100 < src->val1)skill->attack(BF_WEAPON,ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0);break;default:skill->attack(skill->get_type(sg->skill_id),ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0);}break; -
Level 255
All stats: 200
Weapon a normal garrison [13104]
Normal Bullet [13200]
I'm at jupe_ele
I summoned 100 porings
I cast desperado
Porings are still smiling. (alive)
i think this is the line for that
src/map/skill.c
case GS_DESPERADO:if (rnd()%100 < src->val1)skill->attack(BF_WEAPON,ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0);I'm fairly new at this, what am i suppose to do with those Thanks for the reply BTW.
i think this is the line for that
src/map/skill.c
case GS_DESPERADO:if (rnd()%100 < src->val1)skill->attack(BF_WEAPON,ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0);I'm fairly new at this, what am i suppose to do with those Thanks for the reply BTW.
-
I tried to spam desperado while I'm surrounded by enemies, but it barely hits. I casted 10 times, it only hit once. Any thoughts?
stylist help
in Script Support
Posted
Hi, I edited this stylist script from euphy's and I was wondering
How do I 'DISABLE' changing hairstyle color when the hairstyle is past #99?