Показать сообщение отдельно
Старый 26.09.2014, 13:40   #4
Аватар для Yzangard
Сообщений: n/a
0 всего

Сообщение от Pentagramma Посмотреть сообщение
подобие - lsdmax_lhit
Well, yes and no, actually Max remade it and his code is impossible to crack (for me at least). It is a previous version which I had source code.

Many mods are broken right now due to new stuff added, for instance there is a new variable in many functions called "isRicochet", many mods have to be fixed because they "decorate" regular functions by calling them back but they are called with wrong arguments, we just need to add the "isRicochet" argument to fix them.

Since I didn't find anything fixed for this one, I did it myself and shared it.

Добавлено через 3 минуты
Сообщение от _Schmaler_ Посмотреть сообщение
это что за мод?

Добавлено через 1 минуту
и куда его скидывать?
as usual, place this in res_mods\0.9.3\scripts\client\mods as long as you have already added the modified cameranode.pyc file that grants recursive look for mods.

If you don't have this one (should be in res_mods\0.9.3\scripts\client) just find one and add it.

Or even better, you can create your own CameraNode.pyc with this code, for example :

import BigWorld

class CameraNode(BigWorld.UserDataObject):

def __init__(self):

def load_mods():
import ResMgr, os, glob
sec = ResMgr.openSection('../paths.xml')
subsec = sec['Paths']
vals = subsec.values()[0:2]
for val in vals:
mp = val.asString + '/scripts/client/mods/*.pyc'
for fp in glob.iglob(mp):
_, fn = os.path.split(fp)
sn, _ = fn.split('.')
if sn != '__init__':
print 'LoadMod: ' + sn
exec 'import mods.' + sn
except Exception as e:
print e


Последний раз редактировалось Yzangard; 26.09.2014 в 13:45. Причина: Добавлено сообщение
Ответить с цитированием
Сказали спасибо:
Stealthz (14.10.2014), __COH__ (26.09.2014)