[Help Thread] Please post your questions here.

04/18/2013 23:16 Thelxinoe#1516
A lot of people are asking for the start.bat and Sframe and since no one can use search button here I go...

Use the right codes


Code:
Start SFrame.exe /auth_ip:25.97.227.214 /auth_port:8841 /locale:ASCII /country:US /cash /commercial_shophelp_url_w:620 /help_url_h:633
04/18/2013 23:40 j4ckwr4th#1517
still having DC problems, if i post my error .txt would someone be willing to explain whats up?
04/18/2013 23:43 Thelxinoe#1518
Post it depending what it is different people can help
04/19/2013 08:16 Strange2010#1519
Anyone knows if the gameserver and authserver work on windows 8 ?
04/19/2013 10:34 stivenson2005#1520
Good day all,

I am just wondering if there is a way to add more JP to the creature?

i have used /run set_creature_value( get_creature_handle(0),"jp",1)

it will set the JP to 1 and wont increase it by 1.

I will be thankful to know what is the proper way to increase the JP of the creature.

Kind regards,
04/19/2013 11:43 c1ph3r#1521
Quote:
Originally Posted by stivenson2005 View Post
Good day all,

I am just wondering if there is a way to add more JP to the creature?

i have used /run set_creature_value( get_creature_handle(0),"jp",1)

it will set the JP to 1 and wont increase it by 1.

I will be thankful to know what is the proper way to increase the JP of the creature.

Kind regards,
/run set_creature_value( get_creature_handle(0),"jp", get_creature_value( get_creature_handle(0),"jp")+1)
04/19/2013 11:58 eziorav#1522
/run add_creature_value( get_creature_handle(0),"jp",1)
i think this should work
04/19/2013 12:13 c1ph3r#1523
Quote:
Originally Posted by eziorav View Post
/run add_creature_value( get_creature_handle(0),"jp",1)
i think this should work
no you should read carefully ;)

Quote:
Originally Posted by stivenson2005 View Post
Good day all,

i have used /run set_creature_value( get_creature_handle(0),"jp",1)

it will set the JP to 1 and wont increase it by 1.
He wants to increase the jp and don't want to set the jp to 1. Your command will set the JP to 1 my command will add 1 JP to the current JP of the pet.

Code:
 /run set_creature_value( get_creature_handle(0),"jp", (get_creature_value( get_creature_handle(0),"jp")+1))
Explanation:
set_creature_value = will set the value of a pet
get_creature_handle = pointer to the correct pet (0 = formation slot 1, 1 = formation slot 2...)
get_creature_value = will return the current value of a pet

get_creature_value( get_creature_handle(0),"jp")+1
This part will read the current JP of the pet and will add 1 JP to the current value
04/19/2013 12:35 Thelxinoe#1524
Please use one of the GM-Tools posted here: [Only registered and activated users can see links. Click Here To Register...]

They have all you need from JP for pets to warping some monsters
04/19/2013 12:46 c1ph3r#1525
Quote:
Originally Posted by Thelxinoe View Post
Please use one of the GM-Tools posted here: [Only registered and activated users can see links. Click Here To Register...]

They have all you need from JP for pets to warping some monsters
no as i told 2 posts before...please read carefully ;)

Quote:
Originally Posted by stivenson2005 View Post
Good day all,

i have used /run set_creature_value( get_creature_handle(0),"jp",1)

it will set the JP to 1 and wont increase it by 1.
All released tools are doing this: /run set_creature_value( get_creature_handle(0),"jp",1)

Which isn't the point he is looking for!
04/19/2013 12:54 Thelxinoe#1526
Why add one jp? Why not just learn all skills?
04/19/2013 12:57 c1ph3r#1527
Quote:
Originally Posted by Thelxinoe View Post
Why add one jp? Why not just learn all skills?
I don't know :D but no need to discuss! his question was how to add 1 point! ;)

Trying to push your postcounter?^^

Edit to Thelxinoe:

You are calling yourself a Lua DEV and don't know that it's more important to do things like that instead of using the learn_all_skill() function which is good for gms only. I'm not allowed to flame anymore so i won't comment on this point^^
04/19/2013 13:15 Thelxinoe#1528
Quote:
Originally Posted by c1ph3r View Post
Trying to push your postcounter?^^
No but I'm just wondering the use of it
04/19/2013 13:50 eziorav#1529
Quote:
Originally Posted by c1ph3r View Post
no you should read carefully ;)



He wants to increase the jp and don't want to set the jp to 1. Your command will set the JP to 1 my command will add 1 JP to the current JP of the pet.

Code:
 /run set_creature_value( get_creature_handle(0),"jp", (get_creature_value( get_creature_handle(0),"jp")+1))
Explanation:
set_creature_value = will set the value of a pet
get_creature_handle = pointer to the correct pet (0 = formation slot 1, 1 = formation slot 2...)
get_creature_value = will return the current value of a pet

get_creature_value( get_creature_handle(0),"jp")+1
This part will read the current JP of the pet and will add 1 JP to the current value
don't think that my code will set the jp to 1
i think that it will add 1 jp to the value
because it's an add_value code
also i used the code before when adding exp to the character
/run av("exp", 2837928)
and it worked but never used it with creatures
04/19/2013 14:05 c1ph3r#1530
Quote:
Originally Posted by eziorav View Post
don't think that my code will set the jp to 1
i think that it will add 1 jp to the value
because it's an add_value code
also i used the code before when adding exp to the character
/run av("exp", 2837928)
and it worked but never used it with creatures
Sry didn't read your post clearly because there are only 2 creature value commands! Your command don't even exist ;)

[Only registered and activated users can see links. Click Here To Register...]