Jump to content

xP3NG3Rx

Honorable Member
  • Posts

    855
  • Joined

  • Days Won

    402
  • Feedback

    100%

Everything posted by xP3NG3Rx

  1. I think this tells everything. Specified platform toolset (v90) requires Visual Studio 2008. Please make sure that Visual Studio 2008 is installed on the machine.
  2. Damn, love it. ♫♪ Disclosure - Help Me Lose My Mind (Mazde Remix)
  3. [Hidden Content]
  4. Could you explain what do you want to do? What is this?
  5. This script was written by Python 3.x.x, not compatible with 2.x.x if you do not rewrite the network codes.
  6. Change the datatype of the cell by name "hp" in player.player table (Right click on the table and choose the "Design table" option, or change it with a simple query).
  7. This song is amazing! I never bought any music so far.. But this... Orgasm to my ears. Ah, and Hungarian
  8. damn upgrade.rar
  9. I think not lucky to call the Interface class from interfaceModule.py more than once because of the __init__ function. Try to bind the self to the gameoptiondialog. objectDlg.BindInterface(self) like for whisper or inventory or dragonsoul etc.
  10. You should use other ways, here are two (I prefer the first) PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs) { long long llGold = CPythonPlayer::Instance().GetStatus(POINT_GOLD); #ifdef _DEBUG Tracef("GetElk(): %lld\n", llGold); #endif return PyLong_FromLongLong(llGold); } PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs) { long long llGold = CPythonPlayer::Instance().GetStatus(POINT_GOLD); #ifdef _DEBUG Tracef("GetElk(): %lld\n", llGold); #endif PyObject *args = PyTuple_New(1); PyTuple_SetItem(args, 0, PyLong_FromLongLong(llGold)); Py_BuildValue("()", args); }
  11. Upload your uiToolTip.py file.. We are not wizards, we do not know where could be the problem or where did you do a mistake.
  12. #include <windows.h>
  13. uiInventory.py at line 1. gimport ui
  14. No, I do not care about it, they can't do anything with python if cythonized already . Always there is the risk who can code hacks for him/her-self, those persons can manipulate the quest commands while the client sends it to the server.
  15. The well coded c++ codes are more safety than pylua connections, in my opinion.
  16. Sylvan Esso - Hey Mami (Big Wild Remix) Big Wild - Aftergold ps. I hate this f***ing postingbox -.-
  17. In your root there is locale.py? Rename it to localeinfo and in the whole root files "locale" "locale." also. But be carefull for uiscriptlocale. In Python 2.7 the "locale" is a standard library in the lib folder and this makes conflicts with the rootside locale.py.
  18. xP3NG3Rx

    Portal

    Bellator... hm, maybe you can find that model in these: [Hidden Content] [Hidden Content]
  19. Hmm, I can't watch the video because of my mobile-internet is limited. But I will test with this: case SHOP_SUBHEADER_CG_SELL2: { if (uiBytes < sizeof(WORD) + sizeof(WORD) + sizeof(BYTE)) return -1; //WORD wPos = *(c_pData); const WORD wPos = *reinterpret_cast<const WORD*>(c_pData);//c_pData[0:sizeof(WORD)] const WORD wCount = *(c_pData + sizeof(WORD));//c_pData[sizeof(WORD):(2*sizeof(WORD))] const BYTE bType = *(c_pData + sizeof(WORD) + sizeof(WORD));//c_pData[(2*sizeof(WORD)):] sys_log(0, "INPUT: %s SHOP: SELL2", ch->GetName()); sys_log(0, " wPos: %d, wCount: %d, bType: %d", wPos, wCount, bType); CShopManager::instance().Sell(ch, wPos, wCount, bType); return sizeof(WORD) + sizeof(WORD) + sizeof(BYTE); } Because I implemented the items selling from the DS-Inventory.
  20. Thanks, I love it! Buuut, what is that TfckOFF?
  21. You can sort the items by those names in Ascending or Descending, I did some (C&P)changes, but I did not test yet, so I do not know it works or not. shop_manager.cpp New function for sorting: bool CompareShopItemPos(const SShopItemTable& lhs, const SShopItemTable& rhs) { return (lhs.display_pos < rhs.display_pos); } Extended sorting statement: std::string stSort; if (!pNode->GetValue("sort", 0, stSort)) { stSort = "None"; } if (boost::iequals(stSort, "Asc")) { std::sort(shopItems.begin(), shopItems.end(), CompareShopItemName); } else if(boost::iequals(stSort, "Desc")) { std::sort(shopItems.rbegin(), shopItems.rend(), CompareShopItemName); } else if (boost::iequals(stSort, "Pos")) { std::sort(shopItems.begin(), shopItems.end(), CompareShopItemPos); } Group B02 { Vnum 51 Name Costumes CoinType SecondaryCoin Sort Pos Group Items { #--# Vnum Count Price 1 41003 1 50 2 41004 1 50 3 45003 1 30 4 45004 1 30 } }
  22. I have to say that there is no other way. But the codes are correct, if you doing right, will be compiled successfully as to others.
  23. app is a built-in module inside the binary. I do not recommend to use the official file from uiscript, because of python conflicts. @Lurinzo: The system is to detect the level of monsters and their aggressive flag and show these informations near the monster's name, which can be turned off. Here it is:
  24. The syserr tells everything what you should to know what is the problem and where. Check your files, those files what you edited last time.
  25. That is a custom function at WoM to send a command to a quest by questindex.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.