CO Private Server

06/07/2006 07:19 aidas2004#511
xprincex> hmmz.. i personaly dont change any ports, i have router so i use LAN/LocalHost too.
I had problems with PostgreSQL Services, so i decides that when i enter username: postgres, pass: postgres only then it works... maybe u try, reinstall u'r PostgreSQL and try my way...
P.S. When u installing sellect all icons, in Installation bar.
So Postgre will get all permisions.
good luck.

Hybris> yeach we could meet in MSN dont know really when. Coz now i'am too busy, my cousins has arrived yesterday so... =]
06/07/2006 12:00 Hybris#512
You can disable the Password verification of the server (in frmMain.cs) :

World.InitWorld();
m_Database = new BackendDB();
frmLogon NamePass = new frmLogon();
bool DBOpen = false;
while (!DBOpen)


replace by :

World.InitWorld();
m_Database = new BackendDB();
frmLogon NamePass = new frmLogon();
bool DBOpen = false;
while (DBOpen)


As simple as saying HELLO World :P
06/07/2006 12:57 Xerofait#513
I have this server working and I can add items to my inventory. (Client side only I think as Hybris says.)
I have made the script work so that I can type "/give armor ######" and it will add that armor to my inventory where ###### is the itemid of that armor. What I would like to know how to do is make a script that will access the database, do a select query and find the itemid of the item name you put in the give command instead of having to find the itemid myself. Does anyone know how to run a SQL query that could do this? Any help is appreciated!
06/07/2006 12:58 Hybris#514
Quote:
Originally posted by Xerofait@Jun 7 2006, 12:57
I have this server working and I can add items to my inventory. (Client side only I think as Hybris says.)
I have made the script work so that I can type "/give armor ######" and it will add that armor to my inventory where ###### is the itemid of that armor. What I would like to know how to do is make a script that will access the database, do a select query and find the itemid of the item name you put in the give command instead of having to find the itemid myself. Does anyone know how to run a SQL query that could do this? Any help is appreciated!
Your Inventory Script could be useful, if you give it to me i can try to work on a Query for IDs.
06/07/2006 12:59 Xerofait#515
I'll do that tonight when I get home from school :)
I just wanted to post that before I went and I don't have enough time to send it right now.
06/07/2006 14:28 Hybris#516
Quote:
Originally posted by Xerofait@Jun 7 2006, 12:59
I'll do that tonight when I get home from school :)
I just wanted to post that before I went and I don't have enough time to send it right now.
Ok no problem, i have all my hollydays :P
06/07/2006 15:37 Titanium#517
Reposting a link to a handy guide, made before by Spankyn...

[Only registered and activated users can see links. Click Here To Register...]

[img]text2schild.php?smilienummer=1&text=So noobs follow the link and do what is says' border='0' alt='So noobs follow the link and do what is says' />
06/07/2006 17:59 xprincex#518
aidas2004> hey thanks man i will try right now.....
it dint work and i was wondering do you have to have the db cluster turned on

case i have fat32... system setup and i cant install that... ok lol laters
06/07/2006 22:30 Xerofait#519
Here is my world.cs and PacketBuilder.cs files.

This has a lot of commands that I have added along with some I am working on. It also has the ability to create items by typing "/give type itemid" where type is armor, ring, neckalce, headwear, boots, righthand, or lefthand, and itemid is the itemid from the items database if you made it. I got the item creation script from Hybris and I modified it to be able to create any type of equip instead of just the full level 130 trojan equip.

My favorite equip to add is itemid 137310.. take a look at it if you like :D

Hope this helps someone!
06/07/2006 22:43 Hybris#520
Quote:
Originally posted by Xerofait@Jun 7 2006, 22:30
Here is my world.cs and PacketBuilder.cs files.

This has a lot of commands that I have added along with some I am working on. It also has the ability to create items by typing "/give type itemid" where type is armor, ring, neckalce, headwear, boots, righthand, or lefthand, and itemid is the itemid from the items database if you made it. I got the item creation script from Hybris and I modified it to be able to create any type of equip instead of just the full level 130 trojan equip.

My favorite equip to add is itemid 137310.. take a look at it if you like :D

Hope this helps someone!
Good work, useful, i see you have many of my commands lol (credits to aidas btw too)

+karma for this little work
06/07/2006 23:40 Xerofait#521
Thank you for the karma, and yes, some of the GM commands were made by other people that have posted them in this thread (aidas2004, others) so credit goes to them too.

Here is a couple screenshots of the server in action:

[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
06/08/2006 00:36 xprincex#522
hey xerofait do you have msn or aol i need some help if u dont mind
06/08/2006 00:46 Xerofait#523
Yeah I have both, you can add me on MSN my name is [Only registered and activated users can see links. Click Here To Register...]

I'm working on a physics project right now but when I'm done I'd be glad to help if I can.
06/08/2006 01:09 xprincex#524
ok i added you you can get on sometime soon lol
(-----)
(----)
(---)
(--)
06/08/2006 09:51 aidas2004#525
Xerofait> i sow u asked something about items.
So u whant to make cmd /item itemname - like in Qonquer's Project ? and now u have /item item_id cmd ? i'am right ?
I will see what i can do...