-
Notifications
You must be signed in to change notification settings - Fork 85
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
sc2printer wrong magic #7
Comments
Hey g4borg, good catch! I develop about half and half in Windows and GNU/Linux but I guess I've never run sc2printer on linux to catch the error. I notice you've made a fork, are you looking to contribute? There's always work to be done and we'd love to have you on board! If so I'll gladly handle your pull request, otherwise I'll fix it myself. |
yeah wrote you a message about the fork, so you can close this bug later with the cool closes #bug stanza !! :D you fix it :) i am still a github noob. |
ah i closed that, omg. |
Opened it again. You can (I think github gives you permissions) change the status of the issues with the actions pull down at the top of the issue thread. |
I fixed the magic in commit: 29828cd |
since i am now at writing my first network engine, i still study sc2 mechanics and mainly look at how your reader is going on (i dont know if you remember, but we talked about the magic once, and i forked sc2reader since i wanted to implement sc2 reading for starbattle maps back then) what i noticed about learning how to write an engine is, that sc2 works as a predetermined state machine and sends only inputs, which in fact is how the replays might be saved, so basicly, your reader gives me a lot of clue now, how the sc2 engine seems to work you would help me a lot if you would clarify me following questions:
you can email me also directly to gab@g4b.org i hope the questions are understandable, i would be very happy if you take your time to give an answer them, even if just short "I assume yes" :) anything i can help, i will c yaGabor Guzmics |
Ah, okay. You should definitely make sure to keep your fork up to date! Also, keep in mind that there are no guarantees that event parsing for what i noticed about learning how to write an engine is, that sc2 works as
Yes, the Starcraft II client is a deterministic state machine with the two
Starcraft just loads up the initial game state and replays the events in
There are 16 frames per game second in SC2. Events come in on a frame
Movement tracking would be a monumental effort. You'd need to create a very
sc2reader exposes raw event information as best as it possibly can. Past
You might want to look into creating a special datapack for your custom
|
the magic in sc2reader is as follows:
#!c:\Python27\python.exe
this is not good, it should be:
#!/usr/bin/env python
possibly followed by:
coding: utf-8
or else it only works if you have python there installed :) which is not an issue on windows, but an issue on unix, where this directory does not exist. :)
The text was updated successfully, but these errors were encountered: