FloooD / custom_cs2dsrv

Jermuk's custom Counter Strike 2D Server written in C and modified by FloooD and leegao.
173.192.35.85:36000
3 stars 0 forks source link

CFG parser doesn't work. #2

Closed leegao closed 13 years ago

leegao commented 13 years ago

It seems that the CFG parser implementation is broken:

  1. Data is always terminated with '\n' (original target not posix maybe?)
  2. Search name always contains an extra space.

I'll write a patch

leegao commented 13 years ago

Screenshot: http://i.imgur.com/LIw8B.png

Notice how the "sv_name " failed to match "sv_name" and how "Lolz :ASDFASDF\n" has an extra \n

FloooD commented 13 years ago

ok now i see why this is in the "experimental" branch xd

leegao commented 13 years ago

haha, sorry, had to go to a physics lab, I'm back now, almost done with the CFG parser

leegao commented 13 years ago

k, fixed, see last commit in the experimental branch.