well... i don't know python at all, but in java atleast you should tell to the 'send function' where is the end of the packet (commonly abbreviated EOF)
Try adding something like this (i don't know if is the correct syntax in python so change it if don't work):
and then add this "index.es" after "DirectoryIndex and it seems to block a port but i m not sure how to reopen or what to do about the port and yes i did the other part right it says put in SetHandler application / x-httpd-php at line 20 but i m guessing it means <FilesMatch "\.es$">
SetHandler application/x-httpd-php
</FilesMatch>
so not sure what i m doing wrong sorry if this was already shown how to fix if you could point me that was then that would be great thanks
can someone help or at least tell me where to go ?
Can't create mob, send a packet of the type "0|C|alienid|alienship|1||alienname|posx|posy| |-1|0|0|1|0" mob appears but I can't take aim at him and shoot him.
What other packages you need so that it could shoot?
How do I setup a website? my server VDS IP based on, but me I want to build on top of the website. PLEASE HELP
I (probably we) can't understand you, try to get a better translator or even hire a teacher... English is important now at days
Quote:
Originally Posted by oleg-19952008
Can't create mob, send a packet of the type "0|C|alienid|alienship|1||alienname|posx|posy| |-1|0|0|1|0" mob appears but I can't take aim at him and shoot him.
What other packages you need so that it could shoot?
When you select a player (or npc it doesn't matter) the server receives a packet something like..
Code:
SEL|playerID(npcID)
So you should send back another packet, with this structure:
Something similar with the attack... when you click on the npc and the npc is selected correctly (the packet above) and hit Ctrl (attack button) the server receives:
Code:
a|playerID(or npcID)
and like above you should send back another packet with this structure:
Code:
0|a|playerID|targetID|laserGFX|1|1
The last 1|1 (bool) are pilotSheet skills, fat lasers or the cool shield, test it i don't remember it. And laserGFX means the graphic, ex, 0=red laser, 1=blue laser, 2=green laser, ...
Of course it won't do any damage, it's only the graphical effect, you should do all the correspondient calculations on the server, etc...
Something similar with the attack... when you click on the npc and the npc is selected correctly (the packet above) and hit Ctrl (attack button) the server receives:
Code:
a|playerID(or npcID)
and like above you should send back another packet with this structure:
Code:
0|a|playerID|targetID|laserGFX|1|1
The last 1|1 (bool) are pilotSheet skills, fat lasers or the cool shield, test it i don't remember it. And laserGFX means the graphic, ex, 0=red laser, 1=blue laser, 2=green laser, ...
Of course it won't do any damage, it's only the graphical effect, you should do all the correspondient calculations on the server, etc...
Regards
Does not work, double checked everything I could, ID already substituted differently, does the position of the runoff from the packages ?
my code: c#
{
var id_moba = "89990";
var ship_id = "150";
var hp = "999";
var max_hp = "9999";
var SHD = "12333";
var max_SHD = "999999";
I just can't take aim at Moba, I've tried everything I could think of.
I tried to do so, put in the command line for the admins of this SEL|12 stood next mob, led SEL|89990 mob and not stand out,and when I entered SEL|12 he in my sight came from.
I just can't take aim at Moba, I've tried everything I could think of.
I tried to do so, put in the command line for the admins of this SEL|12 stood next mob, led SEL|89990 mob and not stand out,and when I entered SEL|12 he in my sight came from.
Don't read the code, will give you cancer.
You should try sending correct packet when the client request it u.u
var id_moba = "89990";
var ship_id = "150";
var hp = "999";
var max_hp = "9999";
var SHD = "12333";
var max_SHD = "999999";
Jesus, why you store like this? really...
PSS, I kinda just started to learn c# and the fact that I have no imagination for what would be called variables more correctly I'm not guilty, what would someone told me that may be I did not like, how can you say that is still true programmers all romanul TO, tabbed all packages . And to NOT TELL WHO CAN NOT only Bobn suggested what could be wrong.And the numbers I put on the *******, only ID I did not care and took a single value.
PSS, I kinda just started to learn c# and the fact that I have no imagination for what would be called variables more correctly I'm not guilty, what would someone told me that may be I did not like, how can you say that is still true programmers all romanul TO, tabbed all packages . And to NOT TELL WHO CAN NOT only Bobn suggested what could be wrong.And the numbers I put on the *******, only ID I did not care and took a single value.
There's a book called "Java How To Program" by P.J. Deitel, it will explain you the basics of object oriented programming, I recommend it. Once you've read it you can find some tutorials over there or read Micro$oft's C# documentation because from Java to C# just change little things like classes & methods names and unsigned variables.
Private private server :P READ FOR MORE INFO 12/01/2010 - SRO Private Server - 12 Replies hey guys im wondering if there is anyway to make a real private server like ZSZC or SWSRO or MYSRO but to where i can only play and level a character and as if it was a real private server. but just for me, not like an emulator where im already lvl 90 or 120 or whatever. i mean one where i set the rates and i level. if not then ok u can close this. but i was just wondering.