Page 1 of 1

Problem with loggins

PostPosted: Sun Dec 30, 2007 8:44 pm
by elcholachica
Hi, i have aready built my server and can log who wants. The problem happens when an account is created... automatically is created as an Admin account. I want quit this automatically admin account creation please.
the first account created is the admin account, all the rest should be normal accounts
Wrong... I said all accounts created are admin accounts... and I want disable it... why would i post this question if only the first account is admin?
I repeat: All accounts created are automatically admin accounts. Please help...
thread locked
Next time wait for the response please :(
class IDs are in gameserver/globalconstants.cs
I cant find it... lol if i must install a database i dont know how to do it :|

Re: Problem with loggins

PostPosted: Sun Dec 30, 2007 8:54 pm
by stealth215
go into your server, and into the gameserver folder, go to the bottom and look for globalconstants.cs file

as for the all accounts being admin, i'm not sure where that is off the top of my head

Re: Problem with loggins

PostPosted: Sun Dec 30, 2007 9:08 pm
by elcholachica
C:\Program Files\Dawn of Light\gameserver maybe? Doesnt exist :confused: maybe is an error for the instalation.

Re: Problem with loggins

PostPosted: Sun Dec 30, 2007 9:11 pm
by stealth215
oh, are you running the serverpack, or the SVN?

i'll just post it here for you
Code: Select all
//base classes
Acolyte = 16,
AlbionRogue = 17,
Disciple = 20,
Elementalist = 15,
Fighter = 14,
Forester = 57,
Guardian = 52,
Mage = 18,
Magician = 51,
MidgardRogue = 38,
Mystic = 36,
Naturalist = 53,
Seer = 37,
Stalker = 54,
Viking = 35,

//alb classes
Armsman = 2,
Cabalist = 13,
Cleric = 6,
Friar = 10,
Heretic = 33,
Infiltrator = 9,
Mercenary = 11,
Minstrel = 4,
Necromancer = 12,
Paladin = 1,
Reaver = 19,
Scout = 3,
Sorcerer = 8,
Theurgist = 5,
Wizard = 7,
Mauler_Alb = 60,

//hib classes
Animist = 55,
Bainshee = 39,
Bard = 48,
Blademaster = 43,
Champion = 45,
Druid = 47,
Eldritch = 40,
Enchanter = 41,
Hero = 44,
Mentalist = 42,
Nightshade = 49,
Ranger = 50,
Valewalker = 56,
Vampiir = 58,
Warden = 46,
Mauler_Hib = 62,

//mid classes
Berserker = 31,
Bonedancer = 30,
Healer = 26,
Hunter = 25,
Runemaster = 29,
Savage = 32,
Shadowblade = 23,
Shaman = 28,
Skald = 24,
Spiritmaster = 27,
Thane = 21,
Valkyrie = 34,
Warlock = 59,
Warrior = 22,
Mauler_Mid = 61,

Re: Problem with loggins

PostPosted: Sun Dec 30, 2007 9:31 pm
by Graveen
hi ! i have locked it because it is a common error ;)

now, let's dig:
1/ you really mean accounts, not characters ? all characters on the first created account are admins.
2/ could you look at the account table, field PrivLevel ? first account must have 3 (or 2 for GM), others must have 1
2a/ in case all account.PrivLevel are 2 or 3, if you manually put one on 1, does it work ?
3/ what binaries do you use ? svn or binaries 818 ?

(for 3/ erf owned by Stealth :DDDDDD)

gl !

@Elcholachoca: gameserver.cs only exists in svn (the source) download, not binary distribution.

Re: Problem with loggins

PostPosted: Sun Dec 30, 2007 9:54 pm
by elcholachica
Ok i didnt understand all but i'll try...

I can manually change accounts to priv level 1 of course but if i put it on daoc portal list many people would register an account and i couldnt manually change it one on one. (I hope u understand my english lol)

¿Whats svn? :shock:

Then i would like install a complete sql or xml database with all NPCs, mobs, objects... but i dont know, really i dont know how i opened the server, only installed the DolServer, wrote ServerShortName, Server Full Name, selected PvE and XML and clic on Save. Then me, and some friends could connect. But all they with automatically admin accounts.

Ok... Now i dowloaded a NPC Package from this Web but is in sql, i dont know where/how to put it in my server, im doing all manually since i opened it but for example i dont know how to make a trainer, a merchant, a teleporter... and is too hard make all mobs manually.

I had bad luck reading an english tutorial when my language is spanish...lol and is hard to understand u but try to help me please :wink:
--
to stealth: Thanks so much ;)

---Edit---

Ok now i installed the server as the tutorial says but only give me errors, erros, and a lot of more errors...

I run DolConfig.exe, selected PvE, wrote RedKnight as shortname, Red Knight Beta as full name, elcholachica as MySQL User and ******** as password (is the same as this account), MySQL Database: YourDB (didnt touch), MySQL Host: 127.0.0.1 (it refer the IP i have), clic on save and ok...al right but when i run DolServer.exe, It starts saying me *** doesnt exits..Creating.. all right, but in the middle of the procces, Windows error, Dont Send.

Re: Problem with loggins

PostPosted: Sun Dec 30, 2007 10:11 pm
by Graveen
ah effectively :D

the best thing i can do is to invite you to download the binairies & the db dump here: http://www.dolserver.net/viewtopic.php?f=6&t=8952

then use this graphic tutorial, it could be easiest: http://ra.orar.ro/etc/DOL/guide.html

good luck !

Re: Problem with loggins

PostPosted: Sun Dec 30, 2007 11:49 pm
by elcholachica
Ok i have tried but is too hard when i run the cmd i wrote the comand but show me an error. Maybe i must continue with my xml database, is easier to use and only must learn how to make trainers, merchants...

Thanks so much :wink:

Re: Problem with loggins

PostPosted: Mon Dec 31, 2007 3:13 pm
by Tolakram
Ok i have tried but is too hard
Sorry.