Jump to content

HITRON

Inactive Member
  • Posts

    228
  • Joined

  • Last visited

  • Days Won

    15
  • Feedback

    0%

Everything posted by HITRON

  1. Or you can simply use chrmgr.HasAffectByVID(self.GetTargetVID(), chr.AFFECT_POISON) in Python instead to add this new functions that is not really needed to check if the vid is poisoned and you can change it also to AFFECT_BLEEDING, AFFECT_FIRE etc less code and the SetPoison etc is not really needed cause the OnUpdate will update it anyways in every player that have selected the vid thats is poisoned and sow on. Function: HasAffectByVID PyObject * chrmgrHasAffectByVID(PyObject * poSelf, PyObject * poArgs) { int iVID, iAffect; if (!PyTuple_GetInteger(poArgs, 0, &iVID)) return Py_BadArgument(); if (!PyTuple_GetInteger(poArgs, 1, &iAffect)) return Py_BadArgument(); CPythonCharacterManager & rkChrMgr = CPythonCharacterManager::Instance(); CInstanceBase * p = rkChrMgr.CPythonCharacterManager::GetInstancePtr(iVID); if (p) return Py_BuildValue("i", p->IsAffect(iAffect)); return Py_BuildNone(); }
  2. The part of the code with the .killscript is not really needed there is a sys_err instead, i think the code could be safe removed.
  3. Hey, Anyone have the old style of Bonus Page that official used to use in Beta Server at the first days with this style instead of the centered one?
  4. The SetScale is a old function that every source by now should have, if you don't have it search is easy to be found.
  5. Do you know any useful way to detect what exactly cause the problem and where?
  6. If he is using C++11 he can use the auto feature but i told him to try both ways to be sure the problem is not from the auto instead of iterator. The SAFE_DELETE(pWin) / delete pWin doesn't matter the problem won't fix that. m_strName If is not declared at first place is not belong in the list so isn't a problem.
  7. The problem actually happens from here: void CWindowManager::Update() { // If this code is commented is working fine. // __ClearReserveDeleteWindowList(); // And add this instead: _ReserveDeleteWindowList.clear(); m_pRootWindow->Update(); } So is happening when the CWindowManager is sending the Update() -> OnUIUpdate (PythonApplication), is not actually easy to follow this func to find what cause the problem, if @Minton could give us more info what he have added in his source and the problem appear would be nice.
  8. I have analyze a lot of that kind of crashes, i'm pretty sure that i know exactly where the problem is. Send me your PythonWindowManager.cpp
  9. HITRON

    Aeldra - Closed?

    @Apranax Gameforge already knew about Aeldra even if he report doesn't mean nothing, Gameforce could close Aeldra at first place if they really could thats why i come up with that conclusion. If you said that the Messages is edited then is different story, Okay. * My statement is wrong, so i asked for deletion.
  10. Cool, Thanks, i will try to do it too.
  11. Thats very nice. I think this could solve a issue when you extend the APP in the Task Manager and choose Maximize and the Graphics just got ugly, let me know if this is not happening with your method.
  12. Can you show me with gif what you mean with the bordeless / full screen over the taskbar? Is not possible with this method to do the Render as i know.
  13. HITRON

    Aeldra - Closed?

    What? So Gameforge can't do nothing, and you can? You closed one of the Biggest Servers included Aeldra + Elonia and now you gonna close the next Targets that Gameforge wanted to? What benefits do you get from this? Be friends with Gameforge?
  14. HITRON

    Aeldra - Closed?

    Seems that Gameforge closed them.
  15. Yes, Thank you all for the fast respond in my question this really helped me out.
  16. I was trying to make the real board to work with Render thats why i didn't had any success, your method is clever and really this helped me a lot now. Thank you very much!
  17. I stored the width of the parent window in the rect, but i think is because of the board Image is little bit curve at the edges need to use something as prefix to render like 5px before but what will happen with other boards? Is rendering outside both of them. Is working perfectly in all sides, for you is working good without to getting out from the board? As i saw in the video that Denis shared seems that @masodikbela have the same issue as me, do you have fixed it? Thanks.
  18. It was hard but i figure it out and i did it full in all Images and every single Textline in any case, I think i got lost when i rewrote the whole PythonWindow but i got a issue that is not taking the right size of the board and is hiding the Text / Image when is little bit out from the Window anyone who can guide a little bit? (I did a lot of changes in ui.py too but the only thing that left is that.)
  19. @Vanilla I coded it with C++ there is not reason to use lua code for this, useless flags and functions that server core sends for use, I already coded the checks if the boss is dead before spawn again and working perfectly. Maybe is possible with the functions that Vanilla Core already has to be done with quest, but someone who asking "How to do this" obviously he search for a ready Tutorial and he have no clue how to coding, so I'm just offering my services cause the system takes me some hours to be done and i don't feel to want to share it for free. Thanks.
  20. I coded a System for that, if you would like to buy contact me. You can set a Boss to spawn in a specific time / map / place / channel with Notice to entire Game that starting 5 minutes before the Boss spawn.
  21. If you want to open a server and respect your players you have to pay to get the good stuffs, most of the servers closing in 1 month cause of bugs that source have and they have no clue how to fix and after they pay a lot to a developer to fix their bugs and is more than the marty source price, much much more, so doesn't really matter, if you don't pay now you will pay at the end. People who have a good knowledge they don't ask a such questions thats why i'm saying this.
  22. @VegaS™ But if you want to add like 1.200.000.000, would be nice if you could use 1.2kkk example or 1.2b.
  23. You can do w/e you want with Sources, if you have any knowledge of programming and how the code works then you should start with mainline or buy @martysama0134 Sources is very cheap and all the bugs is fixed and the Source is full clean for a great start, or use public files / sources that already have the systems that you want.
×
×
  • 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.