Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run server ,Players Fly in the sky ~~ can't down #20

Closed
qq33357486 opened this issue Jul 18, 2013 · 18 comments
Closed

Run server ,Players Fly in the sky ~~ can't down #20

qq33357486 opened this issue Jul 18, 2013 · 18 comments

Comments

@qq33357486
Copy link

Q:

  1. Player fly in the sky
  2. Player Client down
  3. Cmd not have Player leave log
  4. In config.py ,can't type Utf-8 code words
  5. just 10 players need more upstream than self.server
  6. I love u ! matpow2, u are great
@qq33357486
Copy link
Author

And all player are translated to a new map .... maybe in the World map side.....
can't back .

@matpow2
Copy link
Owner

matpow2 commented Jul 18, 2013

  1. Please explain
  2. Please elaborate
  3. Please explain
  4. What?
  5. You too

@qq33357486
Copy link
Author

  1. If a player use CE change Memory, The server all players will auto -hp;
    and if a player name is use u"utf-8"'s name like Chinese, out py can't encode or decode,
  2. In Cmd , I only can see the player enter info, But some times i want to know who leave when time.
  3. In Congig.py , Welcome info i want use u"utf-8" words , so need change *.py code type to utf-8. because there many country people use ur py from without english language.
  4. When I use CWServerWrapper.exe , one player cost about 60kb upstream. but use this py ,need about 80kb/perpson
  5. I am a python worker ~ so do u ~aha ~
    and pls fogive me , my english is poor~~

@matpow2
Copy link
Owner

matpow2 commented Jul 18, 2013

  1. I see! Can you provide an example name in Chinese, perhaps with a characters.db database? I don't think I'm actually able to produce those characters :-)
  2. Fixed in trunk
  3. Fixed in trunk
  4. Known issue, put into Traffic usage is slightly higher than normal server #26 now

Also, remember to make separate issues for each issue the next time you have something to report ;-)

@qq33357486
Copy link
Author

characters.db

https://skydrive.live.com/redir?resid=5C2474A4B2F530B4!282&authkey=!AI7XrQ1GQmj2hmE

DB File

Chinese Name is : "管理员" , English mean : Admin

@qq33357486
Copy link
Author

Hi mappow2....

I have debug all night ...

maybe you can help me .

  1. I want to know where is Player move pos send to Client in *py code..I try to find entity , server, packet ,,print all function ,,can't find ...
  2. Chinese Client always breakdown,maybe it's use unicode or utf-8 in memory .so ,,,can u tell me how to find this bug.~ i think must send something to client let it breakdown.

and ......love agian ~ now I need go to bed ~~ I have debug 10 hours....

@qq33357486
Copy link
Author

Now there are two important Bug.

  1. Client breakdown
  2. Player translated to OutMap...can't back

@matpow2
Copy link
Owner

matpow2 commented Jul 20, 2013

Can you check and see if the unicode problems are fixed?

@qq33357486
Copy link
Author

On my way

@qq33357486
Copy link
Author

Last packet ID: None
Unhandled Error
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\twisted\python\log.py", line 88, in callWi
thLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "C:\Python27\lib\site-packages\twisted\python\log.py", line 73, in callWi
thContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "C:\Python27\lib\site-packages\twisted\python\context.py", line 118, in c
allWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "C:\Python27\lib\site-packages\twisted\python\context.py", line 81, in ca
llWithContext
return func(args,*kw)
--- ---
File "C:\Python27\lib\site-packages\twisted\internet\iocpreactor\reactor.py",
line 118, in _callEventCallback
evt.callback(rc, bytes, evt)
File "C:\Python27\lib\site-packages\twisted\internet\iocpreactor\abstract.py",
line 94, in _cbRead
if self._handleRead(rc, bytes, evt):
File "C:\Python27\lib\site-packages\twisted\internet\iocpreactor\abstract.py",
line 120, in _handleRead
return self._dispatchData()
File "C:\Python27\lib\site-packages\twisted\internet\iocpreactor\abstract.py",
line 76, in _dispatchData
0, remainder))
File "C:\Python27\lib\site-packages\twisted\internet\iocpreactor\tcp.py", line
62, in dataReceived
self.protocol.dataReceived(str(rbuffer))
File "D:\Server\CubeWrold\cuwo-master\cuwo\server.py", line 87, in dataReceive
d
self.packet_handler.feed(data)
File "cuwo\packet.py", line 696, in feed
raise e
exceptions.KeyError: 542393671

@qq33357486
Copy link
Author

The client breakdown is fix. Player no longer breakdown.
But new bug has:
1. server will exception,the error info like last info . than all player offline. (Need I print something?)
2. Can't use Chinese name , I don't know is utf-8 or unicode.
3. Can't type Chinese word in Chat.
And old Bug have:
1. Some times Player are translated to the map outside,fly in the sky can't down

Some function maybe cuwu is not have:(I don't know , bez chinese client is so .......shit)
1. no Npc , enemy, can't open door....and so on

@qq33357486
Copy link
Author

Bug:
1. If I use /login or /kick.....The server will send very very much message to me ... and my chat box will show many same info .

Need:
1. maybe we need add some function to ban.py. Some player use CE or other cheat tools ,it let server not good.So ,,We need limit player limit ,,x to x.....

@qq33357486
Copy link
Author

And in Cmd , I don't know how many player on the line

@qq33357486
Copy link
Author

Last Bug,,, I try to

def feed(self, data):
    self.data += data
    reader = ByteReader(self.data)
    if self.data != None:
        while True:
            pos = reader.tell()
            if pos >= len(self.data):
                break
            try:
                packet = read_packet(reader, self.table)
            except OutOfData:
                break
            except KeyError, e:
                print 'Last packet ID:', self.last_packet_id
                raise e
            self.last_packet_id = packet.packet_id
            self.callback(packet)
        self.data = self.data[pos:]

Fix!

@matpow2
Copy link
Owner

matpow2 commented Jul 21, 2013

Hi qq33357486

Is there actually a Chinese client? I couldn't get my client to display the name of your character, so I assumed Chinese characters weren't supported.

@qq33357486
Copy link
Author

It's good Idear

@qq33357486
Copy link
Author

When player PK awalys lose connection

@matpow2
Copy link
Owner

matpow2 commented Aug 18, 2013

Closing

@matpow2 matpow2 closed this as completed Aug 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants