| Author | Message | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| 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.
|
| 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.
|
| 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!
|
| Re: Insomniacs Source release/dump r189
insomniac posted: (14th Dec 2011, 03:28 am) 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.
|
| 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? :)
|
| Re: Insomniacs Source release/dump r189
Sky posted: (14th Dec 2011, 12:36 pm)
and also sorry to be awkward, is there anyway somone would be able to make a sqlite database for this?
|
| Re: Insomniacs Source release/dump r189
This is only compiled for mysql. You would need to recompile it.
|
| Re: Insomniacs Source release/dump r189
Hollow posted: (14th Dec 2011, 04:13 pm) i have,,, i was trying to switch it to sqlite and i messed up my mysql idk whats up with it,,,
|
| 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.
|
| Re: Insomniacs Source release/dump r189
Hollow posted: (14th Dec 2011, 04:23 pm)
|
| Re: Insomniacs Source release/dump r189
Check the install.sql or it was called something like insomniac-database.sql?
|
| Re: Insomniacs Source release/dump r189
|
| Re: Insomniacs Source release/dump r189
.sql file types can simply be opened with notepad
|
| Re: Insomniacs Source release/dump r189
Hollow posted: (14th Dec 2011, 04:27 pm) Ty =D!
| |
