P Server "NPC base code/shops/drop items" for who asked me 2 do it

07/07/2008 22:26 GRASSHOPPA#1531
does anybody have a clearinv command?
if so would u please post it or help me make my own?
07/08/2008 00:05 adz06676#1532
Quote:
Originally Posted by GRASSHOPPA View Post
does anybody have a clearinv command?
if so would u please post it or help me make my own?
try something like:
Quote:
if (splitter[0] == "/clearinv")
theclient.mychar.itemsininventory = 0;
Although if "itemsininventory" is a bool, that will not work. I cant remember.
07/08/2008 00:31 GRASSHOPPA#1533
@adz
ty imma give it a try....if it doesnt work ill jus do some trial and error =P
07/08/2008 02:12 gfun1#1534
Quote:
Originally Posted by lolmaster123 View Post
How do i change auto restart time?
There is no "Auto Restart" time. The restart executable starts the server in 10 seconds I believe, this gives it enough time for the currently running instance to shutdown, and for the new instance to load. I would not recommend changing it, but if you wish to, you would need to make a whole new restart.exe file.

Quote:
Originally Posted by zane203 View Post
I can if you want. I just wanted to know what the team thought of the idea xD. Though if you want me to, i ask that you give me 2-3weeks to set things up properly.

Well just say the word.
I'm not too fond of the idea, too much stuff to moderate and also, spam... Bigger issue then we think.
07/08/2008 02:56 Bottingpunk#1535
well then how do u make it so ur server does auto restart?
07/08/2008 03:27 plasma-hand#1536
any1 wanna zip 4-b svn doesnt work on my pc
07/08/2008 04:43 tao4229#1537
Okay, sorry Adz, i have no clue what's going on... for some reason, i built my NEW NpcDialog.cs, built fine, now all my npcs broke x____x... Re-doiing it Again =o.
07/08/2008 05:09 §hadow§age#1538
hey samehvan, adz, or gfun! first of all i love your source and would love to be apart of the dev team =D.................anyways i need some help with this.... what do i add to it to make all characters spawn to the selected coords??? any advice would be great

Quote:
if (Splitter[0] == "/sendall")
{
TheClient.MyChar.Teleport(short.Parse(Splitter[1]), short.Parse(Splitter[2]), short.Parse(Splitter[3]));
return true;
07/08/2008 05:16 zane203#1539
Quote:
Originally Posted by gfun1 View Post
There is no "Auto Restart" time. The restart executable starts the server in 10 seconds I believe, this gives it enough time for the currently running instance to shutdown, and for the new instance to load. I would not recommend changing it, but if you wish to, you would need to make a whole new restart.exe file.


I'm not too fond of the idea, too much stuff to moderate and also, spam... Bigger issue then we think.
lol again, you have plenty of people who should mod it for you with no problems, but i do see your point =/ well again if you want one just ask =)
07/08/2008 07:51 stephanyd#1540
Is that possible to make the restart message in center of screen as GM message to all server? I tried the restart and only peoples in same map as me can see the warning.:confused:
07/08/2008 08:57 lawlxx#1541
Two things i noticed (not sure if anyones mentioned it) is, one, after scattering a few times the server will freeze.

Two, when you try to unequip a garment the server freezes.

I have the newest revision, everything is up to date.

Can anyone help?

The errors in cmd are in "attack.cs, character.cs, packethandler.cs, main.cs"
07/08/2008 10:33 Odonata#1542
where can i change the server ip?
07/08/2008 10:40 keving#1543
@Odonata
In new revision:
bin/debug/Server.ini
07/08/2008 10:52 ~Yuki~#1544
@All

If i change the ports to some who arent blocked can i host without mamachi then?
07/08/2008 12:23 andrewo0o#1545
i don't host with hamachi, and my friends can connect to my server