public Socketserver(int PintPoort, Form_Main formMain)
 {
     this.intPort = PintPoort;
     this.formMain = formMain;
     this.intMaxClients = 200;
     ALintsClientId = new ArrayList();
     blist = new BListController(this, formMain.World);
     protocol = new Protocol(blist);
 }
Beispiel #2
0
 //string str = "<INFO><SELF><NAME>Grazy Mos</NAME><MAGICLVL>6</MAGICLVL><LVL>119</LVL><HP>1600</HP><HPPER>100</HPPER><X>1</X><Y>1</Y><Z>6</Z><SKILL></SKILL></SELF><TARGET><NAME>Klown</NAME><HPPER>100</HPPER></TARGET><TARGET><NAME>Tellytubby</NAME><HPPER>100</HPPER><X>1</X><Y>1</Y><Z>6</Z><MANASHIELD>?</MANASHIELD></TARGET></INFO>";
 //1 = sd
 //2 = exori con
 //3 = exori hur
 //4 = exori gran
 //5 = uh
 //String die verstuurd wordt ziet er zo uit: "Actie=1;Player=Grazy mos"
 public Protocol( BListController blist)
 {
     this.blist = blist;
 }