i cant save my mobs? help!!

For any problems with Dawn of Light website or game server, please direct questions and problems here.

Moderator: Support Team

i cant save my mobs? help!!

Postby razorshark » Sat Oct 23, 2010 1:56 pm

when me and my staff are on my server we put in npcs and stuff then when i rest the server they disapeear but the objects stay? can someone help?
razorshark
DOL Apprentice
 
Posts: 35
Joined: Sat May 22, 2010 9:46 pm

Re: i cant save my mobs? help!!

Postby Roozzz » Sat Oct 23, 2010 2:20 pm

Which command are you using?

There is at least one that doesn't save intentionally, You can check this by looking at the code and checking for Save in db or something. If you wish you can easily alter this, basically adding 2 lines, look at the other commands how its done.
Quidquid latine dictum sit, altum videtur
Roozzz
Database Team
 
Posts: 1943
Joined: Wed Dec 06, 2006 11:00 am

Re: i cant save my mobs? help!!

Postby razorshark » Sat Oct 23, 2010 2:33 pm

i use /mob create and doesnt save any of them!!
Image
razorshark
DOL Apprentice
 
Posts: 35
Joined: Sat May 22, 2010 9:46 pm

Re: i cant save my mobs? help!!

Postby Roozzz » Sat Oct 23, 2010 2:36 pm

/mob create used to work fine.

How do you shutdown your server? /exit or pressing the X? Just hitting X won't save a thing iirc.

-edit-

To be exact:
nfastcreate and nrandcreate do not save in the db.
AND
/mob fastcreate <ModelID> <level> [save(default = 0; use 1 to save)] <name>' to create mob with specified info"

look at mob.cs
Quidquid latine dictum sit, altum videtur
Roozzz
Database Team
 
Posts: 1943
Joined: Wed Dec 06, 2006 11:00 am

Re: i cant save my mobs? help!!

Postby razorshark » Sat Oct 23, 2010 3:00 pm

i normally just exit it out up top
Image
razorshark
DOL Apprentice
 
Posts: 35
Joined: Sat May 22, 2010 9:46 pm

Re: i cant save my mobs? help!!

Postby Roozzz » Sat Oct 23, 2010 3:09 pm

Just hitting X won't save a thing iirc.
There is your problem.
Quidquid latine dictum sit, altum videtur
Roozzz
Database Team
 
Posts: 1943
Joined: Wed Dec 06, 2006 11:00 am

Re: i cant save my mobs? help!!

Postby razorshark » Sat Oct 23, 2010 3:15 pm

well when i type exit i dont think it saved anyhting ill go check now
razorshark
DOL Apprentice
 
Posts: 35
Joined: Sat May 22, 2010 9:46 pm

Re: i cant save my mobs? help!!

Postby Tolakram » Sat Oct 23, 2010 3:44 pm

This doesn't make any sense.

Using a SQL database adding mobs saves instantly to the DB. Are you sure the user to your MySQL db has write privileges? Are there any errors about adding objects on the console?
- Mark
User avatar
Tolakram
Storm / Storm-D2 Admin
 
Posts: 9189
Joined: Tue Jun 13, 2006 1:49 am
Location: Kentucky, USA

Re: i cant save my mobs? help!!

Postby razorshark » Sat Oct 23, 2010 3:47 pm

hold on im testing
Image
razorshark
DOL Apprentice
 
Posts: 35
Joined: Sat May 22, 2010 9:46 pm

Re: i cant save my mobs? help!!

Postby razorshark » Sat Oct 23, 2010 3:55 pm

everything saved but the mobs im using navicat lite and i emptyed the mob table to reduce my server lag
Image
razorshark
DOL Apprentice
 
Posts: 35
Joined: Sat May 22, 2010 9:46 pm

Re: i cant save my mobs? help!!

Postby geshi » Sat Oct 23, 2010 4:34 pm

Yep, I had this problem too, you must delete the BoatID column from your mob table.. I think it's called BoatID anyway :confused: something to do with Boats.
geshi
Contributor
 
Posts: 1826
Joined: Tue Oct 21, 2008 9:16 pm

Re: i cant save my mobs? help!!

Postby viper1805 » Sat Oct 23, 2010 5:07 pm

it's the 'old' BoatOwnerID change it into OwnerID or delete it so that the server recreates the OwnerID-column (:
I will not solve your problems for you ... I will just give you a way to find a solution :mrgreen:
User avatar
viper1805
Website Team
 
Posts: 607
Joined: Sat Oct 18, 2008 10:20 pm
Location: NRW, Germany

Re: i cant save my mobs? help!!

Postby Tolakram » Sat Oct 23, 2010 8:18 pm

Why does anyone use navicat when HeidiSQL is available. Free and does everything needed.
- Mark
User avatar
Tolakram
Storm / Storm-D2 Admin
 
Posts: 9189
Joined: Tue Jun 13, 2006 1:49 am
Location: Kentucky, USA

Re: i cant save my mobs? help!!

Postby baradien » Sat Oct 23, 2010 8:56 pm

Downloading and Importing your MySQL Databases:
1) Too download the official keep(Includes: Keep, KeepComponent, KeepHookpoint, KeepPosition, Relic) releases, click here.
2) Too download the official content package(Includes: Ability, ClassXRealmAbility, SpecXAbility, Specialisation, Style, Style Substitute, StyleXSpell, Spell, SpellLine, LineXSpell) releases, click here.
3) Too download the official World package(Includes: World Object, Zone Point, Area, Bind Point, Door) releases, click here.
4) Once you have downloaded all theese databases, extract them all into a folder you can easily remember.
5) Open up your Navicat MySQL GUI.
6) Open up your localhost connection, and right click on the database "dol" that you created.
7) Click execute batch file, and locate the folder you extracted all the databases into.
8) Click each database one by one, and they will be added to your MySQL database.
9) You now have an MySQL Database :)
10) You will now be able to run your fully compiled, fully functional DOL server, with a successful MySQL Database.
here your answer tola :) sinds supgee guide say it then will do the same way ^^
baradien
Server Team
 
Posts: 950
Joined: Wed Jan 23, 2008 3:17 pm
Location: Belguim

Re: i cant save my mobs? help!!

Postby Graveen » Sat Oct 23, 2010 10:07 pm

Why does anyone use navicat when HeidiSQL is available. Free and does everything needed.
And more ! bulk engine changes, bulk table copies, ssl connection...
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12660
Joined: Fri Oct 19, 2007 9:22 pm
Location: France


Return to “%s” Support

Who is online

Users browsing this forum: No registered users and 0 guests