[Help Thread] Please post your questions here.

01/25/2014 00:09 ThunderNikk#2941
Quote:
Originally Posted by Prentis View Post
P.S. I might be mistaken and this is completely hypothetical, but I think that the server init only takes on the event_states, because the event_states work for me, but the states don't. Maybe just me.
I am pretty sure you are correct on this.

On server init you are setting up the server to have event buffs that will affect everyone who logs on.

I think normal add states can only be directed toward a player logging in and not to the server starting.

@L3y5on

Post what you had before you opened the server for your friend to help you and what you had after you opened your server for your friends help and it might be easier for us to help you pinpoint the error.

That screen with that Korean message is a port issue though and your ports look right in your .opts

But if you are now trying to route through your external IP, where you may not have been before, and those ports are not set up properly in your router that may be why you are seeing that Korean message.

They need to be set up for both inbound and outbound rules (but not 1433 unless you are remotely managing the server, then if you are you better make sure your user is stronger than "sa" and that it has stronger than a blank password.)
01/25/2014 09:18 mmno#2942
so it will be like this
function on_server_init()
roaming()
rare_mob()
guardian_spawn()
random_respawn()
server_buffs()
end

function server_buffs()
add_state(1011, 20, 259200000)
add_state(1101, 20, 259200000)
add_state(1013, 20, 259200000)
add_state(9004, 20, 259200000)
add_cstate(1101, 20, 259200000)
add_cstate(1011, 20, 259200000)
add_cstate(1013, 20, 259200000)
add_cstate(9004, 20, 259200000)
function on_login( name )
end


right?
01/25/2014 13:17 Prentis#2943
Quote:
Originally Posted by mmno View Post
so it will be like this
function on_server_init()
roaming()
rare_mob()
guardian_spawn()
random_respawn()
server_buffs()
end

function server_buffs()
add_state(1011, 20, 259200000)
add_state(1101, 20, 259200000)
add_state(1013, 20, 259200000)
add_state(9004, 20, 259200000)
add_cstate(1101, 20, 259200000)
add_cstate(1011, 20, 259200000)
add_cstate(1013, 20, 259200000)
add_cstate(9004, 20, 259200000)
function on_login( name )
end


right?

No... That won't work. You need to delete that part in the server init and put the line on the 92aaf4ae4ee42eb41693728da93f301a script... As I said here

Quote:
Originally Posted by Prentis View Post
Hmm...

You might want to try this:

Add this to the on_login script (92aaf4ae4ee42eb41693728da93f301a)

Code:
	
        add_state(1011, 20, 259200000)
	add_state(1101, 20, 259200000)
	add_state(1013, 20, 259200000)
	add_state(9004, 20, 259200000)
	add_cstate(1101, 20, 259200000)
	add_cstate(1011, 20, 259200000)
	add_cstate(1013, 20, 259200000)
	add_cstate(9004, 20, 259200000)
Add it right after this line:
Code:
function on_login( name )
P.S. I might be mistaken and this is completely hypothetical, but I think that the server init only takes on the event_states, because the event_states work for me, but the states don't. Maybe just me.
01/25/2014 14:03 L3y5on#2944
Quote:
Originally Posted by thndr View Post
I am pretty sure you are correct on this.

On server init you are setting up the server to have event buffs that will affect everyone who logs on.

I think normal add states can only be directed toward a player logging in and not to the server starting.

@L3y5on

Post what you had before you opened the server for your friend to help you and what you had after you opened your server for your friends help and it might be easier for us to help you pinpoint the error.

That screen with that Korean message is a port issue though and your ports look right in your .opts

But if you are now trying to route through your external IP, where you may not have been before, and those ports are not set up properly in your router that may be why you are seeing that Korean message.

They need to be set up for both inbound and outbound rules (but not 1433 unless you are remotely managing the server, then if you are you better make sure your user is stronger than "sa" and that it has stronger than a blank password.)
Hello Friend,

Excuse the delay in responding, but I formatted my computer and before I used the original files and repack comes in, only thing that changed was open the ports in the modem and Firewall, al put my internal ip where it was 127.0.01 and external ip where requested, after that they can go and gives me that error message image I posted.
01/26/2014 16:05 Cyborg2009#2945
Why dosn't become an answer? Or nobody can php to help me, lol, and i have thinked this is a help thread for help all! But not for me^^
01/26/2014 18:35 Domesday Brock#2946
Hi all

I have created a buffing toon in Horizon, I would like to add altered pieces to the buffs list but I can't get the buffs to work, I am using this command
and have tried these variations,
/run add_state(9910,0,0)
/run add_state(9910,0)
/run add_state(9910)
Thanks
01/26/2014 18:41 ThunderNikk#2947
/run add_state(9910,0,0)

Don't you need a buff level and duration in this?

like (9910,10,60)

Sorry Cyborg but I myself am not a PHP coder.
01/26/2014 18:57 Domesday Brock#2948
Quote:
Originally Posted by thndr View Post
/run add_state(9910,0,0)
Don't you need a buff level and duration in this?
like (9910,10,60)
Sorry Cyborg but I myself am not a PHP coder.
Thanks mate, life saver once again lol, I didn't think that I needed a level value as the item has a set buff value
01/26/2014 19:22 L3y5on#2949
Hello to all ,

Well to start I'm having some problems , I will spend here the more urgent to be solved, if they can help me .

1 - My connection error , I can put my server online trough my external fixed ip , everyone can connect , but I can not connect to localhost alert , it only happens when I put the server online , I've set everything right , open the doors correctly in my moden and firewall , even more so I can not connect on localhost , told me the port problems , most did not tell me how I can solve this problem, I already searched everywhere in the forum and google , found nothing more about it :(

2 - I have problems with the image of former pets , eslas not appear , or take the form of a pet soul , how do I fix this? I found a guy with the same problem and managed to fix it , however he did not comment as he did .

3 - About the skill of the soul pets when I capture one and use command to raise them , the skill stay with " ? " I then relogo and skill appear , but many others are not raised with " ? " if I put points to raise when relogo they continue it , how do I resolve this ?

4 - On the issue of placing an icon in the guild , I followed a step by step tutorial here forum , most did not work at all , I can not save the icon in the game , any solution for this?

5 - My npc teleport to teleport HV not even standing with the passport, it's not the option to teleport to HV, how can I be more resolving this problem?

6 - Had to edit the rates of taming the old pets? As the cooling time of the skill?

For now these are my errors on the server that have more urgency, appreciate everyone's help right now, pending any solution, thank you! :handsdown:
01/26/2014 19:51 Domesday Brock#2950
Quote:
Originally Posted by thndr View Post
/run add_state(9910,0,0)
Don't you need a buff level and duration in this?
like (9910,10,60)
Sorry Cyborg but I myself am not a PHP coder.
I am trying these altered pieces

/run add_state(910164,10,60) and get Dc'd from the server
tried
/run add_state(930000,10,60) and get Dc'd from the server

I don't know if the code for the buff is different from the code of the actual piece or if the level of the buff or time is the problem
01/26/2014 22:07 ThunderNikk#2951
Altered pieces are a target-able buff, I tested it and it works with a target specified.

/run add_state(9910, 10 , 600000, "CHARACTERNAME")

(This one ran for about 1.5 hours)

Changing the second number did not seem to matter much.

So in the lua for the NPC you need to pull the variable for the character name that is using the NPC and put the variable into the buff command line for the buff they choose.

EDIT: Maybe you don't need the name for lua but you do for the chat window command. I just know that is the chat command that worked for me.
01/27/2014 13:34 L3y5on#2952
Hello to all ,

Well to start I'm having some problems , I will spend here the more urgent to be solved, if they can help me .

1 - My connection error , I can put my server online trough my external fixed ip , everyone can connect , but I can not connect to localhost alert , it only happens when I put the server online , I've set everything right , open the doors correctly in my moden and firewall , even more so I can not connect on localhost , told me the port problems , most did not tell me how I can solve this problem, I already searched everywhere in the forum and google , found nothing more about it :(

2 - I have problems with the image of former pets , eslas not appear , or take the form of a pet soul , how do I fix this? I found a guy with the same problem and managed to fix it , however he did not comment as he did .

3 - About the skill of the soul pets when I capture one and use command to raise them , the skill stay with " ? " I then relogo and skill appear , but many others are not raised with " ? " if I put points to raise when relogo they continue it , how do I resolve this ?

4 - On the issue of placing an icon in the guild , I followed a step by step tutorial here forum , most did not work at all , I can not save the icon in the game , any solution for this?

5 - My npc teleport to teleport HV not even standing with the passport, it's not the option to teleport to HV, how can I be more resolving this problem?

6 - Had to edit the rates of taming the old pets? As the cooling time of the skill?

For now these are my errors on the server that have more urgency, appreciate everyone's help right now, pending any solution, thank you! :handsdown:
01/27/2014 14:54 ismokedrow#2953
Quote:
Originally Posted by L3y5on View Post
Hello to all ,

Well to start I'm having some problems , I will spend here the more urgent to be solved, if they can help me .

1 - My connection error , I can put my server online trough my external fixed ip , everyone can connect , but I can not connect to localhost alert , it only happens when I put the server online , I've set everything right , open the doors correctly in my moden and firewall , even more so I can not connect on localhost , told me the port problems , most did not tell me how I can solve this problem, I already searched everywhere in the forum and google , found nothing more about it :(

I don't help with connection issues, wait for Thndr on this.

2 - I have problems with the image of former pets , eslas not appear , or take the form of a pet soul , how do I fix this? I found a guy with the same problem and managed to fix it , however he did not comment as he did .

I don't support over 7.1, again prolly just wait for Thndr on this.

3 - About the skill of the soul pets when I capture one and use command to raise them , the skill stay with " ? " I then relogo and skill appear , but many others are not raised with " ? " if I put points to raise when relogo they continue it , how do I resolve this ?

I don't support over 7.1, again prolly just wait for Thndr on this.

4 - On the issue of placing an icon in the guild , I followed a step by step tutorial here forum , most did not work at all , I can not save the icon in the game , any solution for this?

Are you sure it's not saving or it's not showing, to verify if the icon is being uploaded you should check dbo.Guild [icon] column after your upload. If there is something like game001_332_0034 then the icon is uploading but you're having problems with displaying it. (Post if you are seeing icon in dbo.Guild and I will help you from there)

5 - My npc teleport to teleport HV not even standing with the passport, it's not the option to teleport to HV, how can I be more resolving this problem?

//item 910023 1 <--- HV Teleport Pass and furthermore if your HV NPC are stock then they are searching for buff 9004 and item id 910000, you can chance this in ETC_Functions.lua @ function is_premium() (ALL Stock HV NPC use this check to see if you have bought HV)

6 - Had to edit the rates of taming the old pets? As the cooling time of the skill?

Pretty easy, go to dbo.SkillResource of Arcadia and adjust delay_cooltime field

For now these are my errors on the server that have more urgency, appreciate everyone's help right now, pending any solution, thank you! :handsdown:
There ya go :D
01/27/2014 17:59 L3y5on#2954
Smokdrow Thanks for the reply, I resolved some of the problems :handsdown:

Now I have this problem that I am trying to solve.

In the settings server.opt game, if I put all ips on localhost, and only one as an external, everyone can put on and everything works fine, however if I put all the ips in local host, and two outside as it should be, I I have this image error, how to solve this?

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

my opt files:

Auth:

Game Server:


I appreciate the help already :handsdown:
01/27/2014 18:01 ismokedrow#2955
It literally means your gs cannot connect to your as :D