Coder Social home page Coder Social logo

garenahon's People

Contributors

theli-ua avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

garenahon's Issues

Python3

Your code isn't running well under py3. Remove py3 support or really waste some time on it.

Сегфолт при попытке обновления HoN

HoN 2.24.1, актуальная версия лаунчера с github.

HoN запускается, логинится, предлагает обновится, соглашаемся, получаем сегфолт.

slashme@slashu:~/HoN$ ./cis.command
~/HoN ~/HoN
Current version

637942a
Latest version

637942a
Already up to date, nothing to update
checking for HoN updates
Found latest appropriate version: 2.6.31.1
started httpserver...
starging hon
Patching interface
warning: The VAD has been replaced by a hack pending a complete rewrite
127.0.0.1 - - [15/Dec/2012 16:55:14] "POST /client_requester.php HTTP/1.1" 200 -
127.0.0.1 - - [15/Dec/2012 16:55:15] "POST /patcher/patcher.php HTTP/1.1" 200 -
Segmentation fault

hon exited, stopping masterserver and cleaning up
~/HoN

For the recent version of HoN, this script cant be use anymore

This is what I get from my Terminal.

/Applications/Heroes of Newerth.app ~
Current version

9e92836efdde0f527bb25899224e41c4f56e0331
Latest version

9e92836efdde0f527bb25899224e41c4f56e0331
Already up to date, nothing to update
checking for HoN updates
Found latest appropriate version: 3.7.13.0
started httpserver...
starging hon
Patching interface
2015-11-11 17:34:20.570 HoN[5926:308939] 17:34:20.570 WARNING:  140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.
warning: The VAD has been replaced by a hack pending a complete rewrite
Entity: line 11: parser error : Start tag expected, '<' not found

UPDATE :
I cd'ed into Heroes of Newerth inside Application folder. Then I submit command ./launcher.py sea. The game loaded. Then I can login into the server and now waiting the game to update to recent version. Will be update later once the download is complete.

на 3.3 не обновляется

$ hon
~/games/hon ~
Current version

9aa9d2f
Latest version

9aa9d2f
Already up to date, nothing to update
checking for HoN updates
('Info from patchserver:',)
(u'a:3:{i:0;a:8:{s:7:"version";s:7:"3.3.0.1";s:2:"os";s:3:"wgc";s:4:"arch";s:4:"i686";s:3:"url";s:30:"http://dl.heroesofnewerth.com/";s:4:"url2";s:29:"http://patch.hon.s2games.com/";s:14:"latest_version";s:7:"3.3.0.1";s:24:"latest_manifest_checksum";s:40:"72cd2ac6a64c8b6d29597e25b08b3900bbdbb0e8";s:20:"latest_manifest_size";s:7:"1404436";}s:7:"version";s:7:"3.3.0.1";s:15:"current_version";s:4:"...0";}',)
('Regional version: ', u'3.3.0.1')
('Info from patchserver:',)
(u'a:3:{i:0;a:8:{s:7:"version";s:6:"3.2.10";s:2:"os";s:3:"lac";s:4:"arch";s:10:"x86-biarch";s:3:"url";s:30:"http://dl.heroesofnewerth.com/";s:4:"url2";s:29:"http://patch.hon.s2games.com/";s:14:"latest_version";s:6:"3.2.10";s:24:"latest_manifest_checksum";s:40:"efb783b4a3552a7e190919417f1bfe984440d428";s:20:"latest_manifest_size";s:7:"1373349";}s:7:"version";s:8:"3.2.10.0";s:15:"current_version";s:4:"...0";}',)
('International version info: ', {0: {u'latest_manifest_checksum': u'efb783b4a3552a7e190919417f1bfe984440d428', u'url': u'http://dl.heroesofnewerth.com/', u'os': u'lac', u'latest_version': u'3.2.10', u'version': u'3.2.10', u'url2': u'http://patch.hon.s2games.com/', u'arch': u'x86-biarch', u'latest_manifest_size': u'1373349'}, u'current_version': u'...0', u'version': u'3.2.10.0'})
('Trying version: ', u'3.3.0.3')
('Trying version: ', u'3.3.0.2')
('Trying version: ', u'3.3.0.1')
('Trying version: ', u'3.3.0')
Traceback (most recent call last):
File "launcher.py", line 755, in
main()
File "launcher.py", line 672, in main
find_latest_version()
File "launcher.py", line 522, in find_latest_version
print ("Found latest appropriate version: %s" % (current_version))
UnboundLocalError: local variable 'current_version' referenced before assignment
~

как мне откатиться на предыдущую версию?

вчера хотел записать первый в своей жизни мувик и очень уж хотел его показать в одном чате, в котором сижу, не записал потому что звук не записывался, сегодня с дури обновился, а совместить версии не получается. С ходу сорцы мне не поддались
кажется прошлой версией была 3.2.1.(0)

Hey man

Im wondering if this still working on the lastest patch if not can you please update it? I don't mind to donate some money please

после обновления на 3.2.0.0 не запускаеся

Current version

a9ca3cb
Latest version

a9ca3cb
Already up to date, nothing to update
checking for HoN updates
Found latest appropriate version: 3.2.0.0
current version:
3.2.0.0
started httpserver...
starging hon
Patching interface
Traceback (most recent call last):
File "launcher.py", line 744, in
main()
File "launcher.py", line 729, in main
patch_matchmaking(MOD_PATH)
File "launcher.py", line 455, in patch_matchmaking
to.writestr(f,'\n'.join(out))
File "/usr/lib/python2.7/zipfile.py", line 1217, in writestr
zinfo.CRC = crc32(bytes) & 0xffffffff # CRC-32 checksum
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0ca0' in position 17467: ordinal not in range(128)

urllib2 bug on Mac

One of the Lat users is having a issue with the urllib2 package.

She's using Mac Mountain Lion (10.8.2), HoNClient-2.6.22.1 and the last version of the script.

Reinstaling Python(versions 2.5, 2.7 and 3.3) didn't help.

Here's the output:


Last login: Sun Oct 14 02:36:07 on ttys001
/Applications/Heroes\ of\ Newerth.app/lat.command ; exit;
iMacKatia:~ katia$ /Applications/Heroes\ of\ Newerth.app/lat.command ; exit;
/Applications/Heroes of Newerth.app ~
checking for HoN updates
Traceback (most recent call last):
File "launcher.py", line 575, in
main()
File "launcher.py", line 507, in main
find_latest_version()
File "launcher.py", line 417, in find_latest_version
wgc_version = getVerInfo(REGIONAL_OS,'i686',GARENA_MASTERSERVER)['version']
File "launcher.py", line 201, in getVerInfo
data = urlopen(url).read().decode("utf8", 'ignore')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 126, in urlopen
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 394, in open
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 412, in _open
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 372, in _call_chain
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1199, in http_open
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1174, in do_open
urllib2.URLError: <urlopen error [Errno 8] nodename nor servname provided, or not known>
~
logout


Падает при первом запуске

Свежеустановленный HoN, последняя версия на текущее время. Ubuntu 12.10

slashme@slashu:~/HoN$ ./cis.command
~/HoN ~/HoN
Current version

None
Latest version

637942a
Downloading latest version
Traceback (most recent call last):
File "launcher.py", line 680, in
main()
File "launcher.py", line 575, in main
autoupdate()
File "launcher.py", line 567, in autoupdate
f = open(verpath,'w')
IOError: [Errno 2] No such file or directory: '/home/slashme/.Heroes of Newerth/theli_launcher_version'
/HoN
slashme@slashu:
/HoN$ file /usr/bin/python
/usr/bin/python: symbolic link to `python2.7'

Решается запуском HoN'а в первый раз не через лаунчер, но всё равно неприятно.

Some feedback (mostly bugs)

Hi,

Here are some odd stuff I encountered when launching this script:

  1. Locale issue
$ ./cis.command 
~/HoN ~/HoN
./cis.command: line 4: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8): No such file or directory
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
Failed to read current and latest versions
checking for HoN updates
Found latest appropriate version: 2.6.33.0
started httpserver...
starging hon
Patching interface
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
warning: The VAD has been replaced by a hack pending a complete rewrite

(process:25451): Gtk-WARNING **: Locale not supported by C library.
    Using the fallback 'C' locale.
  1. Shop issue, gives connection failed, this I cannot give more detailed information about it because the script does not throw any error.
  2. Login issue; When logging with wrong account name/password the server returns an empty response and the script throws an exception: http://codepad.org/NdDJQ2rY

This is it for now, If i find anything new, i'll post a new issue or update this one if it's related.

OS: ArchLinux 32bit
Python version: 3 and 2 (I think the script uses 3, not sure since I'm not a python coder)
game console.log: ~/Heroes of Newerth/cis/game/console.log

Goodluck!

i can't login on Patch 3.7.11

Last login: Tue Oct 13 00:45:48 on ttys000
COLONEROz:~ COLONEROz$ /Applications/Heroes\ of\ Newerth.app/sea.command ; exit;
/Applications/Heroes of Newerth.app ~
Current version

f3d6552
Latest version

f3d6552
Already up to date, nothing to update
checking for HoN updates
Found latest appropriate version: 3.7.11.0
current version:
3.7.11.0
started httpserver...
starging hon
Patching interface
2015-10-13 01:08:26.018 HoN[2542:476045] 01:08:26.018 WARNING: 140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.
warning: The VAD has been replaced by a hack pending a complete rewrite
127.0.0.1 - - [13/Oct/2015 01:08:40] "POST /client_requester.php?f=auth HTTP/1.1" 200 -
127.0.0.1 - - [13/Oct/2015 01:08:41] "POST /client_requester.php?f=auth HTTP/1.1" 200 -
hon exited, stopping masterserver and cleaning up
~
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

3.7.15.1 Disconnected from chat server

Current version

9e92836efdde0f527bb25899224e41c4f56e0331
Latest version

9e92836efdde0f527bb25899224e41c4f56e0331
Already up to date, nothing to update
checking for HoN updates
Found latest appropriate version: 3.7.15.1
started httpserver...
starging hon
Patching interface
2015-12-11 15:41:07.059 HoN[1429:970684] 15:41:07.059 WARNING:  140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.
warning: The VAD has been replaced by a hack pending a complete rewrite
127.0.0.1 - - [11/Dec/2015 15:41:23] "POST /client_requester.php?f=auth HTTP/1.1" 200 -
127.0.0.1 - - [11/Dec/2015 15:41:28] "POST /patcher/patcher.php HTTP/1.1" 200 -
update=1&version=0.0.0.0&current_version=3.7.15.1&os=mac&arch=universal&cookie=${COOKIE}&neverusethisvar=xx
127.0.0.1 - - [11/Dec/2015 15:41:28] "POST /client_requester.php?f=get_products HTTP/1.1" 200 -
Dec 11 15:41:32  awesomium_process[1436] <Error>: The function ‘CGFontSetShouldUseMulticache’ is obsolete and will be removed in an upcoming update. Unfortunately, this application, or a library it uses, is using this obsolete function, and is thereby contributing to an overall degradation of system performance.
hon exited, stopping masterserver and cleaning up
~
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.