EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Stuck trying to make server help! (https://www.eqemulator.org/forums/showthread.php?t=36434)

rlie_0 02-08-2013 11:29 PM

Ok, something just corrected itself or I managed to get it down right, so it cleaned with 9 out of 9 and built 9 out of 9.

Now im on step 10 copying files over.

Im looking for

Chatserver.exe

That file appears to be missing. The other 4

eqlaunch.exe, World.exe, Zone.exe and EMuShareMem.dll

Were all there. Has anyone else ran into that issue before?

c0ncrete 02-08-2013 11:32 PM

yes, it doesn't exist. it's UCS.exe now.

rlie_0 02-09-2013 12:01 AM

And for the patch ones, unable to find

patch_Anniversary.conf,
patch_HoT.

we not support those 2 anymore? the rest of them were there.

Uleat 02-09-2013 12:04 AM

yes, those were deprecated as well.


look in your peq folder and there should be an eqtime.cfg file too.

it's not required to run, but it will eliminate an error that you will get without it.

rlie_0 02-09-2013 12:11 AM

There any other hidden files that will make this less painful anyone can sugguest I copy over into the server folder?

rlie_0 02-09-2013 12:43 AM

So im working on the .sql part of this, the guide told me to start at 1711 and work my way up the highest numbers, covering each required and opational ones are not as needed but I can if id like. Upon attempting my frist one it fails, saying this.

[Err] 1146 - Table 'peq.account' doesn't exist
[Err] ALTER TABLE `account` ADD `time_creation` INT UNSIGNED DEFAULT '0' NOT NULL AFTER `suspendeduntil`;
[Err] 1146 - Table 'peq.account' doesn't exist
[Err] UPDATE `account` SET `time_creation` = UNIX_TIMESTAMP() WHERE `time_creation` = 0;
[Msg] Finished - Unsuccessfully
--------------------------------------------------

From what I can see, Im missing file folders or something any sugguestions to fix this, and do I repeat each step for each .sql scource Ill input?

lerxst2112 02-09-2013 01:09 AM

You source updates newer than the initial database you installed. So, if you started with 2294 then you want the updates from 2295 and up.

But, if peq.account doesn't exist then you did something wrong in the initial sourcing, like you missed load_player.sql or did it incorrectly.

rlie_0 02-09-2013 03:02 AM

When I go back to the CMD, get logged into that the errors im getting are

ERROR: 1062(23000): Duplicate entry `1 - This one came after i entered

source peqdb_rev2294.sql


When i enter

source load_player.sql

I end up with a lot of rows looking like this

Quary OK, 0 rows affected (0.00 sec)

with this in the middle of it all

Quary OK, 21 rows affected (0.00 sec)
Records: 21 Duplicates: 0 Warning: 0

and then I end up back at

mysql>

Was there a step I missed?

lerxst2112 02-09-2013 04:15 AM

Open your database in Navicat or whatever tool you use and look for both a database named peq and a table named account.

Sourcing over what you already did will give you a lot of errors and duplicates. In order to start fresh you'd need to delete the database or empty it and then source again.

Noport 02-09-2013 04:24 AM

mysql -u root -p
Create Database peq; this will make sure you created a directory for your peq database. if you have a peq directory you may skip this step.
use peq (Hit enter and you will see a short note saying "Database changed")
then type
source load_player.sql

rlie_0 02-09-2013 12:08 PM

The step im having trouble with is making the database...I go into the cmd window and it says I have made the databases...no clue where they are at tho. when I head into Navicat, and open Localhost_3306 then go down to peq, the Tables, Views, Functions, Events, Query tabs within it are clear of anything inside them. This correct or there something im missing?

When i go into the cmd window i do this;

cd/peqdb
mysql u-root -p
Enter password: XXXXXXXXXXXX
Create database peq; (I get an error states its already there)
Use peq

source peq_rev2294.sql (wait awhile)

Then finally enter

source load_player.sql

then close the window and look in Navicat. Once I get into there I look under local connection, open it, look at the peq database, nothing inside it...

Derision 02-10-2013 02:34 PM

I don't use Navicat, but from a command prompt you can verify if your database is there by doing this:
Quote:

C:\Users\Steve>mysql -u root -p
Enter password: ******
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.1.61-community MySQL Community Server (GPL)

Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| peq |
| test |
+--------------------+
4 rows in set (0.00 sec)

mysql> use peq;
Database changed
mysql> show tables;
+---------------------------------+
| Tables_in_peq |
+---------------------------------+
| aa_actions |
| aa_effects |
| aa_required_level_cost |
| activities |
| adventure_template |
| adventure_template_entry |
| adventure_template_entry_flavor |
| altadv_vars |
| alternate_currency |
| blocked_spells |
| books |
| char_create_combinations |
| char_create_point_allocations |
| class_skill |
| damageshieldtypes |
| doors |
| faction_list |
| fear_hints |
| fishing |
| forage |
| goallists |
| graveyard |
| grid |
| grid_entries |
| ground_spawns |
| horses |
| items |
| ldon_trap_entries |
| ldon_trap_templates |
| lootdrop |
| lootdrop_entries |
| loottable |
| loottable_entries |
| merchantlist |
| npc_faction |
| npc_faction_entries |
| npc_spells |
| npc_spells_entries |
| npc_types |
| npc_types_metadata |
| npc_types_tint |
| object |
| pets |
| proximities |
| races |
| saylink |
| skill_caps |
| spawn2 |
| spawn_condition_values |
| spawn_conditions |
| spawn_events |
| spawnentry |
| spawngroup |
| spell_globals |
| spells_new |
| start_zones |
| starting_items |
| tasks |
| tasksets |
| titles |
| tradeskill_recipe |
| tradeskill_recipe_entries |
| traps |
| tribute_levels |
| tributes |
| veteran_reward_templates |
| zone |
| zone_points |
| zone_server |
| zone_state_dump |
| zoneserver_auth |
+---------------------------------+
71 rows in set (0.01 sec)

mysql> select short_name, zoneidnumber from zone limit 10;
+------------+--------------+
| short_name | zoneidnumber |
+------------+--------------+
| abysmal | 279 |
| acrylia | 154 |
| airplane | 71 |
| akanon | 55 |
| akheva | 179 |
| anguish | 317 |
| apprentice | 999 |
| arcstone | 369 |
| arena | 77 |
| arena2 | 180 |
+------------+--------------+
10 rows in set (0.00 sec)

mysql>
That is just verifying the peq database exists, it has tables inside it, and the last SELECT command just displays some data from the zone table.

You can verify if there is data in the other tables by running similar commands on them, e.g.
Code:

select * from npc_types LIMIT 10;
select * from spawn2 LIMIT 10;

If you really want to redo your database, go into mysql via a command prompt and do:
Code:

drop database peq;
create database peq;
use peq;

and then source peq_rev2294.sql, load_player.sql, load_bots.sql (if you want bots), then all the .sql files in utils/sql/svn between 2295 and 2497:
Code:

source 2299_required_inspectmessage_fields.sql
source 2300_optional_loot_changes.sql
source 2340_required_maxbuffslotspet.sql
source 2361_required_qs_rule_values.sql
source 2370_required_aa_updates.sql
source 2376_required_aa_updates.sql
source 2380_optional_merc_data.sql
source 2380_optional_merc_merchant_npctypes_update.sql
source 2380_optional_merc_rules.sql
source 2383_required_group_ismerc.sql
source 2428_optional_levelbasedexpmods.sql
source 2448_optional_stun_proc_aggro_rule.sql
source 2471_required_aa_updates.sql
source 2482_required_start_zones.sql

There is no need to actually re-install the MySQL application to wipe your database and start again.


All times are GMT -4. The time now is 11:19 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.