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

07/11/2008 17:22 Light200#1816
still haven't answered my botjail question >.>
soo how can i make it so people who gets pked in botjail stays there?
07/11/2008 17:32 mindula#1817
Quote:
Originally Posted by friozi View Post
you need creat a Hamachi Server :)
I created a Hamachi server 1 month ago, the server is on-line but, ths morinig, I pass to Normal Accound and now,I have a lot of problems...
07/11/2008 17:53 zane203#1818
Quote:
Originally Posted by bobtin777 View Post
Hey guys i'm bakc i'll try to work on it again i'm sorry i was gone
Welcome back, welcome back, wellllccooooommmeee baaackkkk. (was bored xD)

Quote:
Originally Posted by mindula View Post
How to connect with a IP no.hamachi???

I can conect with my normal IP but my guys no...
One person can connect to their own IP because its theirs. The fact that others can not connect to yours without hamachi is because your IP isnt portforwarded. What PF? its when you configure your Router (you must have a router to not have to use hamachi), to allow other IPs to connect. Yes if you are using a very important computer (IE: your dad's/ your own personal computer if you're young like me, or your work/business computer), then its best to have hamachi for less hacking reasons.

Quote:
Originally Posted by friozi View Post
you need creat a Hamachi Server :)
nope read my above quote =3

Quote:
Originally Posted by Light200 View Post
still haven't answered my botjail question >.>
soo how can i make it so people who gets pked in botjail stays there?
my only idea for you, simply remove all /scroll like commands and if theres a /botjail #playername then just put them there, or better yet,edit their character file and look for the location area and just edit it to the botjail when you're doing a maint. Simple.
(Thank Sonicia for that again, she gave this as a raw idea, and tested if editing the location would work, though i've never tried to restrain someone in bot jail, im sure this plan would work =) )

Quote:
Originally Posted by mindula View Post
I have several problems with Hamachi (normal). My guys can't conect with the game, but Hamachi, yes...

WHY?
Make sure their IP in their server file in their client file is set to your hamachi ip. Dont have them use your computer's ip or anything close to it, just be sure its your hamachi ip.
-
Just in case thats not the problem, it may be the simple fact that you're using the wrong ip for the listening part of "TheCOserver".

The fact that im sure its case #1, i hope you can get friends to connect
-(in case you were planning to ask) no i wont be testing if i can connect to you, sorry not trying to be mean or selfish, but just got a lot on my hands, and with people flooding my client download, the bandwidth is off the charts so now im getting messages about how they cant download... sorry just had to vent a little ^^
07/11/2008 19:13 bobtin777#1819
[QUOTE=zane203;1255157]Welcome back, welcome back, wellllccooooommmeee baaackkkk. (was bored xD)

Wellllll TTTTTTTTTTTTTTTTHHHHHHHANKKKKKKKK yOOOOUUU:p:D
07/11/2008 19:37 ~Yuki~#1820
[quote=bobtin777;1255362]
Quote:
Originally Posted by zane203 View Post
Welcome back, welcome back, wellllccooooommmeee baaackkkk. (was bored xD)

Wellllll TTTTTTTTTTTTTTTTHHHHHHHANKKKKKKKK yOOOOUUU:p:D
OMFG WTH HAPPENED HERE?

BTW Bobtin777 we should work a bit eh? but it soo boring alone lol
07/11/2008 20:03 Light200#1821
so should we get started on drops?

btw zane, i'm using rev 4b, if you die, you get teleported to ma, noobs ca n kill each other in there
07/11/2008 20:25 tao4229#1822
Jin, using a simple if statement could fix that problem...
07/11/2008 21:29 zane203#1823
Quote:
Originally Posted by Light200 View Post
so should we get started on drops?

btw zane, i'm using rev 4b, if you die, you get teleported to ma, noobs ca n kill each other in there
ah did not know that =/ well you could use the technique that some-guy posted. He explains how to have maps be pk protected.
07/11/2008 21:52 stephanyd#1824
Quote:
Originally Posted by Tangaroa View Post
This code is for working met/db scrolls. Put it in your Equip.cs
That code isn't working for Metscrolls:(
07/11/2008 22:14 galdik#1825
Quote:
Originally Posted by Tangaroa View Post
This code is for working met/db scrolls. Put it in your Equip.cs
pls be4 we maybe move on forum of this project use CODE instead of QUOTE when u try next time u will know why
07/11/2008 22:18 Dgen#1826
Anybody has a working RB NPC guy? It sux for me if you can't rb. And did anyone do the mobs that move? So it is more real.


Thank you, Dgen!
07/11/2008 22:29 Some-Guy#1827
Quote:
Originally Posted by Light200 View Post
still haven't answered my botjail question >.>
soo how can i make it so people who gets pked in botjail stays there?
search for /scroll in chat.cs and add the lines in bold
Code:
if (Splitter[0] == "/scroll")
     {
     [b]if (TheChar.PosMap != 1002)
                {[/b]
                    if (Splitter[1] == "tc")
                    {
                        TheClient.MyChar.Teleport(1002, 431, 379);
                    }
     //Deleted lines here to save space
     [b]}[/b]
}
Currently that disables /scroll in twin city, change 1002 to the map id of your choice (same use as my previous example with no pk). After this simply script the botjail npc to charge a db or whatever you want.
07/12/2008 00:18 sagitarius2118#1828
Hello I Have Problems (Sorry For Me English I Speak Spanish) How Can I Creates Teams Add Friends And Trade? And How Can I Create a Guild? Plz Sorry I Am Noob :S
07/12/2008 00:41 friozi#1829
Quote:
Originally Posted by sagitarius2118 View Post
Hello I Have Problems (Sorry For Me English I Speak Spanish) How Can I Creates Teams Add Friends And Trade? And How Can I Create a Guild? Plz Sorry I Am Noob :S
u cant. :)
07/12/2008 00:55 stephanyd#1830
:confused:I'm trying since 1 week to set my portals but they always teleport to TC...anyone can help me or explain clearly how?:confused: