server setup question

General support forum. If you require assistance and your problem doesnt fall in any of the other categories, this is the forum for you!

Moderator: Team Members

Forum rules
READ THE FORUM STICKY THREADS BEFORE ASKING FOR HELP!
Most information can be found there, and if not, the posts will help you determine the information required to get assistance from the development team.
Incomplete Help Requests will be locked or deleted.
Aescleal
Posts: 26
Joined: Mon Jan 26, 2009 11:55 am

server setup question

Post by Aescleal » Wed Feb 11, 2009 12:07 pm

Hi, I've taken the plunge and i'm setting up a server to test.
I get the following message in the server window.
But first I'll comment that I'm running Vista Ultimate x64 as my server (hw/sw info below), with the lastest emu download and followed the server setup instructions on this site. I just want to be sure i'm getting as few error messages as possible from the server. So i'm not even connecting a client to it yet.

Here's the copy/paste:
[Status] Using database 'EQ2' at localhost
[Status] CURRENT_WORLD_VERSION:EQ2EMu 0.6.0 Developer Alpha
[Status] ./LoginServer.ini read.
[Status] Connecting to Update Server..
[Status] Connected to Update Server: eq2emulator.net:9101
[Status] Checking for updates.
[Status] Found Updates.
[Status] Processing Updates.
[Error] Error in updating tables query 'replace into spell_tiers (id,spell_id,ti
er,hp_req,hp_req_percent,hp_upkeep,power_req,power_req_percent,power_upkeep,req_
concentration,cast_time,recovery,recast,radius,max_aoe_targets,min_range,range,d
uration1,duration2,resistibility,hit_bonus,call_frequency) values(2,1,1,0,0,0,0
,10,0,0,0,50,5,0,0,0,2,600,600,0,0,30)': #1064: You have an error in your SQL sy
ntax; check the manual that corresponds to your MySQL server version for the rig
ht syntax to use near 'range,duration1,duration2,resistibility,hit_bonus,call_fr
equency) values(2,1,1,' at line 1
[Error] Attempting to update database table 'spell_tiers' data ... FAILE
D!
[Status] Update complete.
[Status] Loading opcodes..
[Status] Loading structs..
[Status] Loading command list..
[Status] Loaded 21 entity command lists.
[Status] Loaded 0 NPC(s).
[Status] Loaded 0 Object(s).
[Status] Loaded 0 Widget(s).
[Status] Loaded 0 Sign(s).
[Status] Loaded global variables list..
[Status] Loaded visual states list..
[Status] Loading World Time..
[Status] Loading items.. (this might take a few minutes)
[Status] Loaded 0 Bag(s)
[Status] Loaded 0 Food(s)
[Status] Loaded 0 Weapon(s)
[Status] Loaded 0 Armor Piece(s)
[Status] Loaded 0 Skill Item(s)
[Status] Loaded 0 Regular Items
[Error] Error in LoadNextUniqueItemID query 'SELECT max(unique_id) from characte
r_items': #1054: Unknown column 'unique_id' in 'field list'
[Status] Loading spells..
Error Loading Spells, Query: select id, name, description, version, sub_version,
type, class_skill, mastery_skill, tier, hp_req, power_req, cast_time, recast, r
adius, max_aoe_targets, req_concentration, range, duration1, duration2, resistib
ility, hp_upkeep, power_upkeep, duration_until_cancel, target_type, recovery, le
vel, power_req_percent, hp_req_percent, icon, icon2, icontype, success_message,
fade_message, cast_type, lua_script, call_frequency, interruptable, spell_visual
, effect_message from spells, Error: #1064: You have an error in your SQL syntax
; check the manual that corresponds to your MySQL server version for the right s
yntax to use near 'range, duration1, duration2, resistibility, hp_upkeep, power_
upkeep, duration_un' at line 1
[Status] Loading LUA spells..
[Status] Loaded 2 LUA Spell(s)
[Status] Loaded 2 LUA Spawn Script(s)
[Status] Loading factions..
[Status] Loaded 48 Factions
[Status] Loading skills..
[Status] Loaded 129 Skills
[Status] Loading loot data..
[Status] Loaded 0 loot tables.
[Status] Loaded 0 loot drops.
[Status] Loaded 0 spawn loot lists.
[Status] Loading EQ time of day..
I'm counting how many times you've opened this...
Starting factory Reader
Starting factory Writer
World server listening on: localhost:9000
Connected to LoginServer: eq2emulator.net:9100
I've restarted the EQ2WORLD.exe several times as instructed.
Does this info help troubleshoot any? If not I'll try to get more somehow.
Hardware is Intel 3.0ghz dualcore, 8gb ram, ati 3870 w/512mb ram, 250gb hdd.
Vista is fully patched up to date as of yesterday, excluding language packs.
Internet is Cable, 15mb down, 1mb up.
I'm behind a Linksys router.
I'm not trying to connect yet, just to get the server patching smoothly.
I'm going one step at a time.
Oh, and I'm using all the current versions in the instructions. MySQL 5.1, Heidi, etc.

Thanks for any pointers.

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: server setup question

Post by John Adams » Wed Feb 11, 2009 1:39 pm

That is a better start to information than most, so I give you credit :)

But see that little search feature up top? I found this by entering 'replace into spell.tiers' :) Hope it helps.

Aescleal
Posts: 26
Joined: Mon Jan 26, 2009 11:55 am

Re: server setup question

Post by Aescleal » Wed Feb 11, 2009 2:25 pm

John Adams wrote:That is a better start to information than most, so I give you credit :)

But see that little search feature up top? I found this by entering 'replace into spell.tiers' :) Hope it helps.
Haha!
Thanks and Thanks!
I wouldn't have known what part to search on. That's partly why I asked in here!
I'll try this tonight.
Thanks John,
Aes

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: server setup question

Post by John Adams » Wed Feb 11, 2009 2:45 pm

Just make sure you read that entire 3-page thread, because what we couldn't seem to emphasize enough was the difference between update port 9101 and 9102, when using release vs development (svn) binaries.

Aescleal
Posts: 26
Joined: Mon Jan 26, 2009 11:55 am

Re: server setup question

Post by Aescleal » Wed Feb 11, 2009 5:20 pm

John Adams wrote:Just make sure you read that entire 3-page thread, because what we couldn't seem to emphasize enough was the difference between update port 9101 and 9102, when using release vs development (svn) binaries.
Hi again John,
Man, I sure am sorry, but even though I think I've covered all the steps, I can't get the server to run without errors.
Is it maybe the EQ2Emulator0.6.0_Win32Binary?
I posted on the other thread.

Aescleal
Posts: 26
Joined: Mon Jan 26, 2009 11:55 am

Re: server setup question

Post by Aescleal » Sun Feb 22, 2009 7:40 pm

I've set up the server, multiple times now from scratch. Tonight I grabbed 0.6.5 and set that up. Every time I still get these errors.
Are there supposed to be extra ports open for the server?

I've set up the minilogin so I can see if the server will drop me after a short time still.

Any suggestions?

Aes

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Re: server setup question

Post by LethalEncounter » Mon Feb 23, 2009 3:18 pm

You can copy/paste the output from 0.6.5 and the associated LoginServer.ini file (without your username/pass)?

Aescleal
Posts: 26
Joined: Mon Jan 26, 2009 11:55 am

Re: server setup question

Post by Aescleal » Mon Feb 23, 2009 4:53 pm

LethalEncounter wrote:You can copy/paste the output from 0.6.5 and the associated LoginServer.ini file (without your username/pass)?
Sure thing.

LoginServer

Code: Select all

[LoginServer]
loginserver=eq2emulator.net
loginport=9100
worldname=CORE
worldaddress=localhost
#internalworldaddress=INTERNAL_IP_HERE (If used, otherwise blank)
worldport=9000
locked=false
account=myaccountname
password=mypassword
#autotableupdates retrieves the latest table updates and applies them to your database
#autotableupdates valid options=always, ask, and never
autotableupdates=always
#autotableverbose displays detailed information about the updates; options=true or false
autotableverbose=false
#autotabledata retrieves the latest data for tables like the opcodes table; options=true or false
autotabledata=true

[WorldServer]
Defaultstatus=
Unavailzone=

[UpdateServer]
updateserveraddress=eq2emulator.net
updateserverport=9103

[LoginConfig]
ServerMode=StandAlone
ServerPort=9100
Output from 0.6.5

Code: Select all

[Status] Using database 'EQ2' at localhost
[Status] CURRENT_WORLD_VERSION:EQ2EMu 0.6.5 Developer Alpha
[Status] ./LoginServer.ini read.
[Status] Connecting to Update Server..
[Status]        Connected to Update Server: eq2emulator.net:9103
[Status]        Checking for updates.
[Status]        Processing Data Updates.
[Error] Error in updating tables query 'replace into spell_tiers (id,spell_id,ti
er,hp_req,hp_req_percent,hp_upkeep,power_req,power_req_percent,power_upkeep,req_
concentration,cast_time,recovery,recast,radius,max_aoe_targets,min_range,range,d
uration1,duration2,resistibility,hit_bonus,call_frequency,unknown9)  values(2,1,
1,0,0,0,0,10,0,0,0,50,5,0,0,0,2,600,600,0,0,30,0)': #1064: You have an error in
your SQL syntax; check the manual that corresponds to your MySQL server version
for the right syntax to use near 'range,duration1,duration2,resistibility,hit_bo
nus,call_frequency,unknown9)  valu' at line 1
[Error]         Attempting to update database table 'spell_tiers' data ... FAILE
D!
[Status]        Data Update complete.
[Status] Loading opcodes..
[Status] Loading structs..
[Status] Loading command list..
[Status] Loaded 21 entity command lists.
[Status] Loaded 0 NPC(s).
[Status] Loaded 0 Object(s).
[Status] Loaded 0 GroundSpawn(s).
[Status] Loaded 0 Widget(s).
[Status] Loaded 0 Sign(s).
[Status] Loading ground spawn items..
[Status] Loading loot data..
[Status]        Loaded 0 loot tables.
[Status]        Loaded 0 loot drops.
[Status]        Loaded 0 spawn loot lists.
[Status] Loading Transporter Information..
[Status]        Loaded 0 Teleporter(s)
[Status] Loaded global variables list..
[Status] Loaded visual states list..
[Status] Loading World Time..
[Status] Loading items.. (this might take a few minutes)
[Status]        Loaded 0 Bag(s)
[Status]        Loaded 0 Food(s)
[Status]        Loaded 0 Weapon(s)
[Status]        Loaded 0 Armor/Shield Piece(s)
[Status]        Loaded 0 Skill Item(s)
[Status]        Loaded 0 Regular Items
[Status] Loading spells..
Error Loading Spells, Query: select spells.id, name, description, type, class_sk
ill, mastery_skill, tier, hp_req, power_req, cast_time, recast, radius, max_aoe_
targets, req_concentration, range, duration1, duration2, resistibility, hp_upkee
p, power_upkeep, duration_until_cancel, target_type, recovery, power_req_percent
, hp_req_percent, icon, icon2, icontype, success_message, fade_message, cast_typ
e, lua_script, call_frequency, interruptable, spell_visual, effect_message, min_
range, can_effect_raid, affect_only_group_members, hit_bonus, spell_text_color,
display_spell_tier, friendly_spell, group_spell from spells, spell_tiers where s
pells.id = spell_tiers.spell_id order by tier, Error: #1064: You have an error i
n your SQL syntax; check the manual that corresponds to your MySQL server versio
n for the right syntax to use near 'range, duration1, duration2, resistibility,
hp_upkeep, power_upkeep, duration_un' at line 1
[Status] Loading LUA spells..
[Status]        Loaded 2 LUA Spell(s)
[Status] Loading factions..
[Status]        Loaded 48 Factions
[Status] Loading skills..
[Status]        Loaded 129 Skills
[Status] Loading Quests..
[Status]        Loaded 0 Quest(s)
[Status] Loading Merchant Information..
[Status]        Loaded 0 Merchant List(s)
[Status]        Loaded 0 Merchant Multiplier(s)
[Status] Loading Spawn Script Information..
[Status] Loading EQ time of day..
Breaking your databases!!
Starting factory Reader
Starting factory Writer
World server listening on: localhost:9000
Starting static zones...
Connected to LoginServer: eq2emulator.net:9100

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: server setup question

Post by John Adams » Mon Feb 23, 2009 4:57 pm

Code: Select all

updateserveraddress=eq2emulator.net
Shouldn't this be:

Code: Select all

updateserveraddress=updates.eq2emulator.net
???

I thought I posted a complete example in the Update Server announcement thread.

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Re: server setup question

Post by LethalEncounter » Mon Feb 23, 2009 5:07 pm

Both resolve to the same address so that line although not preferred, is fine. What version of mysql are you running? Could you run this query on your db and tell me the result:

select VERSION()

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Re: server setup question

Post by LethalEncounter » Mon Feb 23, 2009 5:20 pm

I bet you are using 5.1 as apparently in 5.1 mysql added a range function of some sorts which explains why it wouldn't work after that column. I'll try to change the update server to enclose the columns in ticks to hopefully fix this problem and prevent further problems.

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: server setup question

Post by John Adams » Mon Feb 23, 2009 5:26 pm

You know, LE... I have been holding back some serious bitching about our column names being function/reserved names. :)

But yes, ticks will help. When we're all done here, I'll get on you about changing all the column names globally. HAHA.

Aescleal
Posts: 26
Joined: Mon Jan 26, 2009 11:55 am

Re: server setup question

Post by Aescleal » Mon Feb 23, 2009 5:27 pm

John Adams wrote:

Code: Select all

updateserveraddress=eq2emulator.net
Shouldn't this be:

Code: Select all

updateserveraddress=updates.eq2emulator.net
???

I thought I posted a complete example in the Update Server announcement thread.
Hi John, good catch! When I was changing things to see if it would help, and I removed updates just to test. I guess I forgot to put it back.

LethalEncounter wrote:Both resolve to the same address so that line although not preferred, is fine. What version of mysql are you running? Could you run this query on your db and tell me the result:

select VERSION()
I get back... 5.1.30-community

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Re: server setup question

Post by LethalEncounter » Mon Feb 23, 2009 5:32 pm

Try to update now. I changed the update server to use ticks around the column names.

User avatar
Zcoretri
Team Member
Posts: 1642
Joined: Fri Jul 27, 2007 12:55 pm
Location: SoCal

Re: server setup question

Post by Zcoretri » Mon Feb 23, 2009 5:34 pm

LethalEncounter wrote:Both resolve to the same address so that line although not preferred, is fine. What version of mysql are you running? Could you run this query on your db and tell me the result:

select VERSION()
I get back... 5.1.30-community[/quote]

As LE suspected :)

I guess you can either install a 5.0.xx version or wait for LE to fix, LOL, he posted a fix as I was writing this.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests