CO Private Server

06/08/2006 12:34 Xerofait#526
Yes that is what I have so far. If you want you can download the world.cs and packetbuilder.cs files I am using from a couple posts back. Thanks for the help.
06/08/2006 14:16 aidas2004#527
Xerofait> hmmz.. yep i downloaded u'r file, and nothing interesting did't found there... I have all thease cmd's and much more...
u can look at our forum [Only registered and activated users can see links. Click Here To Register...] and see full my cmd's list. =]
06/08/2006 16:59 xprincex#528
ohh boy i ahve a problem i use fat32 file system is there any other severs like postgres i could use that anyone knows of and could lend me a hand i woiuld be in aternal gratiude
06/08/2006 17:06 xprincex#529
addias can i help with yur game if i can email me at [Only registered and activated users can see links. Click Here To Register...] i am pretty good with scripting i know a ton of it went to school for it ok laters bud

Hybris can i help with you and addias
06/08/2006 19:14 GuulA#530
how is that password thing? can anyone tell me the password or tell me what i have to do to make the whole server work?
06/08/2006 19:23 aidas2004#531
GuulA> read first 10 threads carefully and u will know all about this...
U just need to disable password sign in, in the Project Properties window =]
06/08/2006 19:41 xprincex#532
hey addias can i help you on yru seever with xerofait i no good scriting here is one of mine that u can look at



// Made by XprinceX
// NPC ID: Who knows?
// Location: Somewhere in twin city

/*
* Quest: Get 20 pk tickets
* Reward: 30k or a chance for a NowbieBlade +1
* NPC name, location: Whatever you want, not my problem.
*/

String[] dlg=null;

switch(option)
{
case -1:
{
String[] tm={
"AVATAR 1",
"TEXT Please bring me 20 pk tickets! If you do, I will give you thirty thousand gold, or possibly a good weapon.",
"OPTION0 Here you go!",
"OPTION1 What weapon?",
"OPTION-1 Eat me."
};
dlg=tm;
break;
}

case 0:
{
int tickets = count(710001);
if (tickets < 20)
{
String[] tm={
"AVATAR 1",
"TEXT You do not have all the things I asked for.",
"OPTION-1 I will come back later or something."
};
dlg=tm;
break;
}

// no need to check for inv size,
// because if you lose 20 pk tickets you can definitely get 1 item

String[] tm={
"AVATAR 1",
"TEXT Please choose a reward.",
"OPTION2 I want 30,000 gold.",
"OPTION3 I want a chance to win a good weapon.",
"OPTION-1 These rewards blow."
};
dlg=tm;

break;
}

case 1:
{
String[] tm={
"AVATAR 1",
"TEXT The weapon is a NowbieBlade with two sockets and -7% damage blessing and a 255 health enchantment.",
"OPTION-1 Cool, I will think about it."
};
dlg=tm;
break;
}

case 2:
{
delitem(710001, 20);

atcommand("@gold 30000");

String[] tm={
"AVATAR 1",
"TEXT Thank you, here is your 30,000 gold as promised! Use it wisely.",
"OPTION-1 Sweet, bye."
};
dlg = tm;
break;
}

case 3:
{
delitem(710001, 20);

// RANDOM NUMBER GENERATOR HERE
// Sorry, I'm not sure if this is the correct syntax,
// But since this seems to be in java, it should work

java.util.Random numGen = new java.util.Random();
int RanNumber = numGet.nextInt(10);

if (ranNumber==5)
{
atcommand("@item 410302 1 2 0 7 255");

String[] tm={
"AVATAR 1",
"TEXT Well done, you won the NowbieBlade! Remember, you cannot trade it or drop it on purpose.",
"OPTION-1 Sweet, bye."
};
dlg=tm;
break;
}

String[] tm={
"AVATAR 1",
"TEXT Sorry, you did not win the item... Better luck next time.",
"OPTION-1 You son of a bitch!"
};
dlg=tm;
break;
}
}

if(dlg!=null)
dialog(dlg);
06/08/2006 21:00 aidas2004#533
xprincex> hey... thnx for this...
i added u to my forum as moderator. =]
have fun... when i will be free tomm i will contact u at MSN
06/08/2006 21:08 jinxedgenocide#534
Nice job stealing that prince...You could have at the very least changed something, and took it out of QOScript...

You fail at life this time, better luck next time. [img]text2schild.php?smilienummer=1&text=Stupid Noob.' border='0' alt='Stupid Noob.' />
06/08/2006 22:45 xprincex#535
me nice try man i dezigned that script i have it msx fourm thats wehre he got it nice try for him however it was.... so talk to him
hey addias i need to get my acc for ur fourms to be actiave ok and i need u to send me the pw kk bud emial me it at [Only registered and activated users can see links. Click Here To Register...] kk thx and night for now
06/08/2006 23:27 Xerofait#536
Plus that script is java and not C# like this server...
06/08/2006 23:32 Hybris#537
Ur code is useless for us xprincex, this is java and a QO Script btw, not really hard to find it on Qonquer.com...make one for our server at least cose this is really useless.
06/08/2006 23:35 Xerofait#538
Adias, is there any chance I could get your source code? You have gotten a lot farther than I have and I would like to study it to figure out how you did all of the stuff you have done in hopes that I will learn a little C# at the same time. I also might be able to help you if I come across something that could be done better.
06/09/2006 00:09 lostsolder05#539
me to please i want to try to srtudy this and learn this
06/09/2006 01:24 xprincex#540
ok i will do it over i made it by my slef tho its no a qonquer script i made it and poseted it in msx site few weeks ago like 3 and 1/2 weeks ok lol and addias i think went off for the nihgt tho lol laters