Sky
Joined: 13th Dec 2011
Posts: 6
Re: Insomniacs Source release/dump r189
Sorry, really nooby question as I haven't used eoserv in a while, but, how do you create a database with HeidiSQL or Sqliteman? I mean, I can download it, open it and name it, but it says 0 fields and it's supposed to be 4 there, I think? (Chars, accs, guilds, bans, etc). I've searched the
forums and couldn't find the help I needed, people may post another link in-case I have missed one, or something? Thanks in advanced.
13 years, 20 weeks ago
|
AustinB

Joined: 9th Jul 2010
Posts: 1400
Re: Insomniacs Source release/dump r189
Don't know if you've already tried this, but you could add a check for players on the map.
Map *map = world->GetMap(mapid);
if(map->characters.size() == 0)
{
break; or return false;
}
This is how i stop a script that uses characters from the map. You might have to fix somethings up, to fit your source.
EDIT: I do believe I fixed the problem: Click me for new download!
If someone could please test this for me, that would be great!
Btw: I only edited 1 part of world.cpp, added a check for the player count.
---
Create your own destiny, don't let someone else do it for you.
13 years, 20 weeks ago
|
Re: Insomniacs Source release/dump r189
right on! Good lookin out!
@ sky ,you just use the sql that comes with the trunk and select all and then run a query!
13 years, 20 weeks ago
|
AustinB

Joined: 9th Jul 2010
Posts: 1400
Re: Insomniacs Source release/dump r189
insomniac posted: (14th Dec 2011, 03:28 am)
right on! Good lookin out!
@ sky ,you just use the sql that comes with the trunk and select all and then run a query!
I've created a blank install.sql for people who don't wish to have the database information of Insomniac's server
Download: Click me!
---
Create your own destiny, don't let someone else do it for you.
13 years, 20 weeks ago
|
Sky
Joined: 13th Dec 2011
Posts: 6
Re: Insomniacs Source release/dump r189
Thank you. But, I ran it and only Accounts tab came up, no characters, bans, or guilds.
--------------------
Fixed.
----------------
I have another question. May I ask, how do you edit the login private message you get and edit the bot name that pms you. And also the death messages? :)
13 years, 20 weeks ago
|
fruity

Joined: 12th Jun 2010
Posts: 569
Re: Insomniacs Source release/dump r189
Sky posted: (14th Dec 2011, 12:36 pm)
Thank you. But, I ran it and only Accounts tab came up, no characters, bans, or guilds.
--------------------
Fixed.
----------------
I have another question. May I ask, how do you edit the login private message you get and edit the bot name that pms you. And also the death messages? :)
search Pandemonium and change it =D
and also sorry to be awkward, is there anyway somone would be able to make a sqlite database for this?
13 years, 20 weeks ago
|
Hollow

Joined: 30th Sep 2010
Posts: 3451
Re: Insomniacs Source release/dump r189
This is only compiled for mysql. You would need to recompile it.
13 years, 20 weeks ago
|
fruity

Joined: 12th Jun 2010
Posts: 569
Re: Insomniacs Source release/dump r189
Hollow posted: (14th Dec 2011, 04:13 pm)
This is only compiled for mysql. You would need to recompile it.
i have,,, i was trying to switch it to sqlite and i messed up my mysql idk whats up with it,,,
13 years, 20 weeks ago
|
Hollow

Joined: 30th Sep 2010
Posts: 3451
Re: Insomniacs Source release/dump r189
eoserv stays hard doesn't it? You simply convert your old database to this one and add his costum columns.
13 years, 20 weeks ago
|
fruity

Joined: 12th Jun 2010
Posts: 569
Re: Insomniacs Source release/dump r189
Hollow posted: (14th Dec 2011, 04:23 pm)
eoserv stays hard doesn't it? You simply convert your old database to this one and add his costum columns.
o.o i cant see what columns to add? i cant open the database,, Why im asking for a Sqlite one to be posted
13 years, 20 weeks ago
|
Hollow

Joined: 30th Sep 2010
Posts: 3451
Re: Insomniacs Source release/dump r189
Check the install.sql or it was called something like insomniac-database.sql?
13 years, 20 weeks ago
|
fruity

Joined: 12th Jun 2010
Posts: 569
Re: Insomniacs Source release/dump r189
what do you mean?? How can i check it? Its Mysql... I cant Open it,,,,
13 years, 20 weeks ago
|
Hollow

Joined: 30th Sep 2010
Posts: 3451
Re: Insomniacs Source release/dump r189
.sql file types can simply be opened with notepad
13 years, 20 weeks ago
|
fruity

Joined: 12th Jun 2010
Posts: 569
Re: Insomniacs Source release/dump r189
Hollow posted: (14th Dec 2011, 04:27 pm)
.sql file type can simply be opened with notepad
Ty =D!
13 years, 20 weeks ago
|
AustinB

Joined: 9th Jul 2010
Posts: 1400
Re: Insomniacs Source release/dump r189
Click me!
This is a SQLITE OR MYSQL build. I also created a blank database for sql. And I fixed the install.sql, from the one that I uploaded earlier, had reborn in there twice.
---
Create your own destiny, don't let someone else do it for you.
13 years, 20 weeks ago
| | | | | | | | | | | | | | | |