Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2015
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 12.60 KB | None | 0 0
  1. psMarriageMsgPropose = [
  2.     #const char* charName, const char* proposeMessage
  3.     '%is%is',
  4.   ]
  5.   psMarriageMsgDivorce = [
  6.     #const char* divorceMessage
  7.     '%is',
  8.   ]
  9.   psMarriageMsgDivorceConfirm = [
  10.     #
  11.     '',
  12.   ]
  13.   psCharDeleteMessage = [
  14.     #const char* charNameToDel
  15.     '%is',
  16.   ]
  17.   psPreAuthenticationMessage = [
  18.     #uint32_t version=PS_NETVERSION
  19.     'I',
  20.   ]
  21.   psAuthenticationMessage = [
  22.     #const char* userid, const char* password, const char* os, uint16 os_ver_major, uint16 os_ver_minor, const char *os_platform, const char *machine_type, const char* gfxcard, const char* gfxversion, const char* sPassword256 = "", uint32_t version=PS_NETVERSION
  23.     '%is%is%isHH%is%is%is%is%isI',
  24.   ]
  25.   psCharacterPickerMessage = [
  26.     #const char* character
  27.     '%is',
  28.   ]
  29.   psCharacterApprovedMessage = [
  30.     #
  31.     '',
  32.   ]
  33.   psPreAuthApprovedMessage = [
  34.     #
  35.     '',
  36.   ]
  37.   psAuthApprovedMessage = [
  38.     #PID playerID, uint8_t numCharacters
  39.     'IB',
  40.   ]
  41.   psAuthRejectedMessage = [
  42.     #const char* reason
  43.     '%is',
  44.   ]
  45.   psChatMessage = [
  46.     #uint32_t cnum, EID actorid, const char* person, const char* other, const char* chatMessage, uint8_t type, bool translate, uint16_t channelID = 0
  47.     'II%is%is%isB?H',
  48.   ]
  49.   psChannelJoinMessage = [
  50.     #const char* name
  51.     '%is',
  52.   ]
  53.   psChannelJoinedMessage = [
  54.     #const char* name, uint16_t id
  55.     '%isH',
  56.   ]
  57.   psChannelLeaveMessage = [
  58.     #uint16_t id
  59.     'H',
  60.   ]
  61.   psSystemMessage = [
  62.     '',
  63.   ]
  64.   psPetitionMessage = [
  65.     '',
  66.   ]
  67.   psPetitionRequestMessage = [
  68.     #bool gm, const char* requestCmd, int petitionID = -1, const char* petDesc = ""
  69.     '?%isi%is',
  70.   ]
  71.   psGMGuiMessage = [
  72.   ]
  73.   psGuildCmdMessage = [
  74.     #const char* cmd
  75.     '%is',
  76.   ]
  77.   psGUIGuildMessage = [
  78.   ]
  79.   psGroupCmdMessage = [
  80.     #const char* cmd
  81.     '%is',
  82.     #const char* cmd
  83.     '%is',
  84.   ]
  85.   psUserCmdMessage = [
  86.     #const char* cmd
  87.     '%is',
  88.   ]
  89.   psWorkCmdMessage = [
  90.     #const char* cmd
  91.     '%is',
  92.   ]
  93.   psAdminCmdMessage = [
  94.     #const char* cmd
  95.     '%is',
  96.     #const char* cmd
  97.     '%is',
  98.   ]
  99.   psGenericCmdMessage = [
  100.     #const char* cmd
  101.     '%is',
  102.     #const char* cmd
  103.     '%is',
  104.   ]
  105.   psDisconnectMessage = [
  106.     #EID actorid, const char* reason
  107.     'I%is',
  108.   ]
  109.   psUserActionMessage = [
  110.     #EID target, const char* action, const char* dfltBehaviors=""
  111.     'I%is%is',
  112.   ]
  113.   psGUIInteractMessage = [
  114.     #uint32_t options, csString command = ""
  115.     'I%is',
  116.   ]
  117.   psMapActionMessage = [
  118.   ]
  119.   psAttackQueueMessage = [
  120.   ]
  121.   psModeMessage = [
  122.     #EID actorID, uint8_t mode, uint32_t value
  123.     'IBI',
  124.   ]
  125.   psMoveLockMessage = [
  126.     #bool locked
  127.     '?',
  128.   ]
  129.   psWeatherMessage = [
  130.   ]
  131.   psGUIInventoryMessage = [
  132.   ]
  133.   psNewSectorMessage = [
  134.     #const csString &oldSector, const csString &newSector, csVector3 pos, bool use_yrot = false, float yrot = 0.0
  135.     'ssfff?f',
  136.   ]
  137.   psLootItemMessage = [
  138.   ]
  139.   psLootMessage = [
  140.     '',
  141.   ]
  142.   psQuestListMessage = [
  143.     '',
  144.   ]
  145.   psQuestInfoMessage = [
  146.   ]
  147.   psOverrideActionMessage = [
  148.     #int client, EID entity, const char* action, int duration = 0
  149.     'iI%isi',
  150.   ]
  151.   psEquipmentMessage = [
  152.   ]
  153.   psGUIMerchantMessage = [
  154.   ]
  155.   psGUIStorageMessage = [
  156.   ]
  157.   psGUIGroupMessage = [
  158.   ]
  159.   psSpellCancelMessage = [
  160.     '',
  161.   ]
  162.   psCraftCancelMessage = [
  163.     '',
  164.   ]
  165.   psAttackBookMessage = [
  166.   ]
  167.   psSpellBookMessage = [
  168.   ]
  169.   psPurifyGlyphMessage = [
  170.     #uint32_t glyphID
  171.     'I',
  172.   ]
  173.   psSpellCastMessage = [
  174.     #csString &spellName, float kFactor
  175.     '%isf',
  176.   ]
  177.   psGlyphAssembleMessage = [
  178.     '',
  179.   ]
  180.   psRequestGlyphsMessage = [
  181.   ]
  182.   psStopEffectMessage = [
  183.     #uint32_t uid
  184.     'I',
  185.   ]
  186.   psEffectMessage = [
  187.     #const csString &effectName, const csVector3 &effectOffset, EID anchorID, EID targetID, uint32_t uid, float scale1 = 0.0, float scale2 = 0.0, float scale3 = 0.0, float scale4 = 0.0
  188.     'sfffIIIffff',
  189.     #const csString &effectName, const csVector3 &effectOffset, EID anchorID, EID targetID, uint32_t duration, uint32_t uid, float scale1 = 0.0, float scale2 = 0.0, float scale3 = 0.0, float scale4 = 0.0
  190.     'sfffIIIIffff',
  191.   ]
  192.   psGUITargetUpdateMessage = [
  193.     #EID targetID
  194.     'I',
  195.   ]
  196.   psMsgStringsMessage = [
  197.     '',
  198.     #csMD5::Digest &digest
  199.     's',
  200.     #csMD5::Digest &digest, char* stringsdata, unsigned long size, uint32_t num_strings
  201.     's%isLI',
  202.   ]
  203.   psCharacterDataMessage = [
  204.     #csString fullname, csString race_name, csString mesh_name, csString traits, csString equipment
  205.     '%is%is%is%is%is',
  206.   ]
  207.   psSpecialCombatEventMessage = [
  208.     #EID attacker, EID target, int attack_anim, int defense_anim
  209.     'IIii',
  210.   ]
  211.   psCombatEventMessage = [
  212.   ]
  213.   psSoundEventMessage = [
  214.     #uint32_t type
  215.     'I',
  216.   ]
  217.   psStatDRMessage = [
  218.     #EID eid, csArray<float> fVitals, csArray<uint32_t> uiVitals, uint8_t version, int flags
  219.     'I%fs%isBi',
  220.     '',
  221.   ]
  222.   psStatsMessage = [
  223.     #float maxHP, float maxMana, float maxWeight, float maxCapacity
  224.     'ffff',
  225.     '',
  226.   ]
  227.   psGUISkillMessage = [
  228.   ]
  229.   psGUIBankingMessage = [
  230.   ]
  231.   psPetSkillMessage = [
  232.   ]
  233.   psDRMessage = [
  234.   ]
  235.   psForcePositionMessage = [
  236.     '',
  237.   ]
  238.   psPersistWorldRequest = [
  239.     '',
  240.   ]
  241.   psRequestAllObjects = [
  242.     '',
  243.   ]
  244.   psPersistWorld = [
  245.     #csVector3 pos, const char* sectorName
  246.     'fff%is',
  247.   ]
  248.   psPersistActorRequest = [
  249.     '',
  250.   ]
  251.   psPersistAllEntities = [
  252.     #
  253.     '',
  254.   ]
  255.   psPersistItem = [
  256.   ]
  257.   psPersistActionLocation = [
  258.     #EID eid, int type, const char* name, const char* sector, const char* mesh
  259.     'Ii%is%is%is',
  260.   ]
  261.   psRemoveObject = [
  262.     #EID objectEID
  263.     'I',
  264.   ]
  265.   psBuddyListMsg = [
  266.   ]
  267.   psBuddyStatus = [
  268.     #csString &buddyName, bool online
  269.     '%is?',
  270.   ]
  271.   psMOTDMessage = [
  272.     #const csString &tipMsg, const csString &motdMsg, const csString &guildMsg, const csString &guild
  273.     'ssss',
  274.   ]
  275.   psMOTDRequestMessage = [
  276.     '',
  277.   ]
  278.   psQuestionResponseMsg = [
  279.     #int clientnum, uint32_t questionID, const csString &answer
  280.     'iIs',
  281.   ]
  282.   psQuestionMessage = [
  283.   ]
  284.   psAdviceMessage = [
  285.     #int clientNum, const char* command, const char* target, const char* message
  286.     'i%is%is%is',
  287.   ]
  288.   psGUIActiveMagicMessage = [
  289.   ]
  290.   psSlotMovementMsg = [
  291.     #int fromContainerID, int fromSlotID, int toContainerID, int toSlotID, int stackCount, csVector3* pt3d=NULL, csVector3* rot=NULL, bool guarded=true, bool inplace=true
  292.     'iiiiiffffff??',
  293.   ]
  294.   psCmdDropMessage = [
  295.     #int quantity, csString &itemName, bool container, bool guarded, bool inplace
  296.     'i%is???',
  297.   ]
  298.   psQuestionCancelMessage = [
  299.     #int clientnum, uint32_t id
  300.     'iI',
  301.   ]
  302.   psGuildMOTDSetMessage = [
  303.     #csString &guildMsg, csString &guild
  304.     '%is%is',
  305.   ]
  306.   psCharacterDetailsMessage = [
  307.   ]
  308.   psCharacterDetailsRequestMessage = [
  309.     #bool myself, bool simple, const csString &requestor
  310.     '??s',
  311.   ]
  312.   psCharacterDescriptionUpdateMessage = [
  313.     #csString &newValue, DESCTYPE desctype
  314.     '%isB',
  315.   ]
  316.   psViewActionLocationMessage = [
  317.     #const char* actname, const char* desc
  318.     '%is%is',
  319.   ]
  320.   psViewItemDescription = [
  321.     #int containerID, int slotID
  322.     'ii',
  323.     #uint32_t to, const char* itemName, const char* description, const char* icon, uint32_t stackCount
  324.     'I%is%is%isI',
  325.   ]
  326.   psViewContainerDescription = [
  327.     #int containerID, int slotID
  328.     'ii',
  329.     #uint32_t to, const char* itemName, const char* description, const char* icon, uint32_t stackCount
  330.     'I%is%is%isI',
  331.   ]
  332.   psViewItemUpdate = [
  333.     #uint32_t to, EID containerID, uint32_t slotID, bool clearSlot, const char* itemName, const char* icon, const char* meshName, const char* materialName, uint32_t stackCount, EID ownerID, csStringSet* msgstrings
  334.     'III?%is%is%is%isII',
  335.   ]
  336.   psWriteBookMessage = [
  337.     #int slotID, int containerID
  338.     'ii',
  339.     #int slotID, int containerID, csString &title, csString &content
  340.     'ii%is%is',
  341.     #csString &title, csString &content, bool success, int slotID, int containerID
  342.     '%is%is?ii',
  343.     #csString &title, bool success
  344.     '%is?',
  345.   ]
  346.   psReadBookTextMessage = [
  347.     #csString &itemName, csString &bookText, bool canWrite, int slotID, int containerID, csString backgroundImg
  348.     '%is%is?ii%is',
  349.   ]
  350.   psQuestRewardMessage = [
  351.   ]
  352.   psExchangeMoneyMsg = [
  353.     #int container, int trias, int hexas, int circles, int octas
  354.     'iiiii',
  355.   ]
  356.   psExchangeRequestMsg = [
  357.     #bool withPlayer
  358.     '?',
  359.     #csString &name, bool withPlayer
  360.     '%is?',
  361.   ]
  362.   psExchangeAddItemMsg = [
  363.     #const csString &name, const csString &meshFactName, const csString &materialName, int containerID, int slot, int stackcount, const csString &icon, csStringSet* msgstrings
  364.     'sssiiis',
  365.   ]
  366.   psExchangeRemoveItemMsg = [
  367.     #int container, int slot, int newStack
  368.     'iii',
  369.   ]
  370.   psExchangeAcceptMsg = [
  371.     #
  372.     '',
  373.   ]
  374.   psExchangeStatusMsg = [
  375.     #bool playerAccept, bool otherPlayerAccept
  376.     '??',
  377.   ]
  378.   psExchangeEndMsg = [
  379.     #
  380.     '',
  381.   ]
  382.   psUpdateObjectNameMessage = [
  383.     #EID eid, const char* newName
  384.     'I%is',
  385.   ]
  386.   psUpdatePlayerGuildMessage = [
  387.     #int total, const char* newGuild
  388.     'i%is',
  389.     #EID entity, const char* newGuild
  390.     'I%is',
  391.   ]
  392.   psUpdatePlayerGroupMessage = [
  393.     #int clientnum, EID objectID, uint32_t groupID
  394.     'iII',
  395.   ]
  396.   psNameCheckMessage = [
  397.     '',
  398.   ]
  399.   psPingMsg = [
  400.     #uint32_t id, uint8_t flags
  401.     'IB',
  402.   ]
  403.   psHeartBeatMsg = [
  404.     #
  405.     '',
  406.   ]
  407.   psLockpickMessage = [
  408.     #const char* password
  409.     '%is',
  410.   ]
  411.   psGMSpawnItems = [
  412.     #const char* type, unsigned int size
  413.     '%isI',
  414.     #const char* type
  415.     '%is',
  416.   ]
  417.   psGMSpawnTypes = [
  418.     #unsigned int size
  419.     'I',
  420.   ]
  421.   psGMSpawnGetMods = [
  422.     #const char *itemname
  423.     '%is',
  424.   ]
  425.   psGMSpawnMods = [
  426.   ]
  427.   psGMSpawnItem = [
  428.     #const char* item, unsigned int count, bool lockable, bool locked, const char* lskill, int lstr, bool pickupable, bool collidable, bool Unpickable, bool Transient, bool SettingItem, bool NPCOwned, bool pickupableWeak, bool random = false, float quality = 0.0f, csArray<uint32_t>* mods = 0
  429.     '%isI??%isi????????f%is',
  430.   ]
  431.   psLootRemoveMessage = [
  432.     #int item
  433.     'i',
  434.   ]
  435.   psCharCreateTraitsMessage = [
  436.     #csString &string
  437.     '%is',
  438.   ]
  439.   psClientStatusMessage = [
  440.     #bool ready
  441.     '?',
  442.   ]
  443.   psMoveModMsg = [
  444.   ]
  445.   psMsgRequestMovement = [
  446.     '',
  447.   ]
  448.   psMovementInfoMessage = [
  449.     #size_t modes, size_t moves
  450.     'LL',
  451.   ]
  452.   psMsgCraftingInfo = [
  453.     '',
  454.   ]
  455.   psTraitChangeMessage = [
  456.     #EID targetID, csString &string
  457.     'I%is',
  458.   ]
  459.   psTutorialMessage = [
  460.     #uint32_t which, const char* instructions
  461.     'I%is',
  462.   ]
  463.   psSketchMessage = [
  464.     #uint32_t itemID, uint8_t flags, const char* limitxml, const char* sketch_def, bool rightToEditFlag, const char* sketch_name, const char* backgroundImg
  465.     'IB%is%is?%is%is',
  466.   ]
  467.   psMusicalSheetMessage = [
  468.     #uint32_t itemID, bool readOnly, bool play, const char* songTitle, const char* musicalSheet
  469.     'I??%is%is',
  470.   ]
  471.   psPlaySongMessage = [
  472.     #uint32_t songID, bool toPlayer, const char* instrName, uint32_t scoreSize, const char* musicalScore
  473.     'I?%isI%is',
  474.   ]
  475.   psStopSongMessage = [
  476.   ]
  477.   psMGStartStopMessage = [
  478.     #bool start
  479.     '?',
  480.   ]
  481.   psMGBoardMessage = [
  482.     #uint8_t counter, uint32_t gameID, uint16_t options, int8_t cols, int8_t rows, uint8_t* layout, uint8_t numOfPieces, uint8_t piecesSize, uint8_t* pieces
  483.     'BIHbbBBBB',
  484.   ]
  485.   psMGUpdateMessage = [
  486.     #uint8_t counter, uint32_t gameID, uint8_t numUpdates, uint8_t* updates
  487.     'BIBB',
  488.   ]
  489.   psEntranceMessage = [
  490.     #EID entranceID
  491.     'I',
  492.   ]
  493.   psGMEventListMessage = [
  494.     '',
  495.   ]
  496.   psGMEventInfoMessage = [
  497.   ]
  498.   psFactionMessage = [
  499.   ]
  500.   psSequenceMessage = [
  501.   ]
  502.   psPlaySoundMessage = [
  503.     #csString snd
  504.     '%is',
  505.   ]
  506.   psCharCreateCPMessage = [
  507.     #int32_t rID, int32_t CPVal
  508.     'II',
  509.   ]
  510.   psCharIntroduction = [
  511.     '',
  512.   ]
  513.   psCachedFileMessage = [
  514.     #uint8_t sequence, const char* pathname, iDataBuffer* contents
  515.     'B%isI%is',
  516.   ]
  517.   psDialogMenuMessage = [
  518.     '',
  519.   ]
  520.   psSimpleStringMessage = [
  521.     #MSG_TYPES type, const char* string
  522.     'B%is',
  523.   ]
  524.   psSimpleRenderMeshMessage = [
  525.     #NetBase::AccessPointers* accessPointers, const char* name, uint16_t index, uint16_t count, const iSector* sector, const csSimpleRenderMesh &simpleRenderMesh
  526.     '%isHH%is',
  527.   ]
  528.   psMechanismActivateMessage = [
  529.     #const char* meshName, const char* move, const char* rot
  530.     '%is%is%is',
  531.   ]
  532.   psOrderedMessage = [
  533.     #int valueToSend, int sequenceNumber
  534.     'ii',
  535.   ]
  536.   psHiredNPCScriptMessage = [
  537.   ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement