Jump to content

[Tutorial]Prohibition of GM negotiation


Adrian Boss

Recommended Posts

Prin acest tutorial, vă voi arăta cum să interziceți GM să negocieze obiecte. 

Un astfel de lucru oferă o garanție că serverul este corect și GM nu este corupt!

Dacă a fost publicat, ștergeți acest subiect

1) Instalați această căutare

link: 

Debes iniciar sesión para ver el contenido del enlace en esta publicación.

2) Deschidem fișierul game.py în rădăcina unde căutăm linia:

def __PutItem (auto, attachedType, attachedItemIndex, attachedItemSlotPos, attachedItemCount, dstChrID):

Apoi adăugați următoarele:

[2xTab] # GM_DISABLE_ITEM_SEND
[2xTab] char = player.GetMainCharacterName ()
[2xTab] GMMark = "["
[2xTab] dacă char> = GMMark:
[3xTab] chat.AppendChat (chat.CHAT_TYPE_INFO, locale.SEND_ITEM_FAILURE_GM)
[3xTab] întoarce
[2xTab] # END_OF_GM_DISABLE_ITEM_SEND

Salvăm și despachetați locally_ro
după care deschidem locale_game.txt în care adăugăm:

SEND_ITEM_FAILURE_GM  Negocierea cu alți jucători a fost restricționată.

*** Dacă ați apăsați [2 xTAB] de două ori în tasta TAB, introduce conținutul, NO [2XTAB]!
de exemplu:
def __PutItem (auto, attachedType, attachedItemIndex, attachedItemSlotPos, attachedItemCount, dstChrID):
# GM_DISABLE_ITEM_SEND ***

SURSA: bellogioco1

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...