Welcome to Onforum.net - Web and gaming resource community

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Quests /Python Python - Fast Equip

topolino1958

Banned
Banned
Credits
0
Hi, here is the fast-equip system to quickly change the equipment.


Prerequisites :

This archive : Download link :
your client
Eternexus : Download link :

I. Tutorial
Open game.py (root)
search:
Code:
Import ime

add :
Code:
import uifastequip

search:
Code:
        onPressKeyDict[app.DIK_F]            = lambda : self.__PressFKey()

add:
Code:
        onPressKeyDict[app.DIK_F7] = lambda : self.__quikeqchange()

search :
Code:
    def    __PressFKey(self):
        if app.IsPressed(app.DIK_LCONTROL) or app.IsPressed(app.DIK_RCONTROL):
            net.SendChatPacket("/user_horse_feed")  
        else:
            app.ZoomCamera(app.CAMERA_TO_POSITIVE)

add:
Code:
    def __quikeqchange(self):
        self.uuifastequipDlg = uifastequip.changeequip()
        self.uuifastequipDlg.Show()



Open constinfo.py (root)

search :
Code:
 LOGIN_COUNT_LIMIT_ENABLE = 0

add:
Code:
FAST_PAGE = 1
FAST_EQUIP = 0

Open locale_interface.txt (locale_x)

add:
Code:
 FAST_EQUIP    Fast equip

II. File placement
uifestequip.py must be inserted in:
Code:
/pack/root

fastequip_window.py must be inserted in :
Code:
/pack/uiscript

fastequip_window.dds must be inserted in :
Code:
/pack/ETC/ui

fastequip_base.sub must be inserted in :
Code:
/pack/ETC/ui/game/windows

6f34tt.jpg


2lm7ybp.jpg


120o28g.jpg


Finish ;)
 
Last edited:

About us

OnForum.net is a resource community where aspiring webmasters and designers can share content and receive support for a wide variety of software platforms. We are working every day to make sure our community is one of the best.

None of the files are hosted on this site.

PARTNERS

Follow us

We recommend

Doza de Blog
Top

Dear User!

We found that you are blocking the display of ads on our site.

Please add it to the exception list or disable AdBlock.

The advertises that you'll see aren't intrusive they just help us to keep the community alive

If you don't want to see those ads just buy an upgrade.

Thank you for understanding!