Jump to content

ѕeмa™

Member
  • Posts

    340
  • Joined

  • Last visited

  • Days Won

    10
  • Feedback

    0%

Everything posted by ѕeмa™

  1. U mean this right? [Hidden Content] Well i did this: Onupdate: if self.max_hp > self.actual_hp: if app.GetTime() > self.time: self.max_hp -= 1 dbg.TraceError(str(self.actual_hp)+"_"+str(self.max_hp)) self.hpGauge.SetPercentage(self.max_hp, 100) self.time = app.GetTime() + 0.005 def sethp def SetHP(self, hpPercentage): if not self.hpGauge.IsShow(): self.SetSize(200 + 7*self.nameLength, self.GetHeight()) self.name.SetHorizontalAlignCenter() self.name.SetWindowHorizontalAlignCenter() self.name.SetPosition(0, 8) self.hpGauge.SetWindowHorizontalAlignCenter() self.hpGauge.SetPosition(0, 23) self.hpGauge.Show() self.percent.Show() self.UpdatePosition() self.max_hp = hpPercentage self.hpGauge.SetPercentage(hpPercentage, 100) self.actual_hp = hpPercentage def init self.actual_hp = 0 self.max_hp = 100 self.time = 0 I did this fast, if it's bugged i dont know but if u find a bug, tell me. You can play with this code, example: if the difference is too high u can make the hp goes faster and if the difference is not too much goes slower. Good luck
  2. I dont know why i should add socket4 in item, but already have it Socket0,1,2,3(new one), why 4? But as i said, i have it
  3. Hello, recently i was working to add a new socket (4) but when everything is done when the core start i get this error I checked every file again searching the problem, maybe a query with socket3 missing or something but i couldnt find the error. Any sugestions? Thanks. PD: player.item has the socket3 field.
  4. Check self.labelTextList[i].SetOverEvent( ui.__mem_func__(self.__ButtonOverIn), i ) self.labelTextList[i].SetOverOutEvent( ui.__mem_func__(self.__ButtonOverOut), i ) SetOverEvent in ui.py or you could add in onupdate a funcion to see the tooltip like if xxx.IsIn(): showtooltip else: hidetooltip
  5. use the tooltip but if you dont show the code nobody could help you
  6. Its really easy to do that (This is not finished but just an example)
  7. why dont u download and check it? Stop asking for help, if you dont try do things for yourself u will never do anything in this life.
  8. I want a ferrari, ships and bitches. TY
  9. Ok, lets try again. 1º Executed db_d normally, when i saw the error, i pressed retry. 2º Then i openned with visual studio in admin mode and i saw the screen above. 3º Execute db_d from solution and check the error in "Resultados" but i can see where is the mistake in the code . I dont know if im doing this right or not fuuuuck xD
  10. With Retry you mean Just In Time Depuration? (Opened with admin rights) And now open sln But i just see the same, if i try click in "Depurador local de windows" Debugger in english, it says:
  11. Hello, i need help with this, in freebsd i could use dbg, but in windows i try debug it with visual studio but i cant see anything. I hope someone can help me. Thanks.
  12. try without simbols like ' in the first line
  13. thanks, i will search how to fix it, i tried disconnecting windows firewall, and some others stuff but still without fix it. I read that maybe a program is blocking the conexion or something like that the server refused the connect right?
  14. Hi, I have a problem with if (m_lpCharacter) { m_lpCharacter->Disconnect("DESC::~DESC"); m_lpCharacter = NULL; } When my character log in automatically is disconnect My server is working in Windows (Game and DB is in release) (This only happen in release, in debug works perfectly) Game.exe image
  15. It looks awesome but i think you should add some mobs
  16. Ohh very nice, you used my system Good Job. The design is like a shit. Good luck.
  17. hmm try change IME (config.exe), i had that problem with my old laptop once, and updating drivers (graphic card) was solved, so try it.
  18. when xxx.kill begin mob.spawn(......) game.set_event_flag("player", pc.get_player_id()) end when npc.click with game.get_eventflag("player") == pc.get_player_id() begin game.set_event_flag("player",0) whatever.... end Try with this (Non tested)
×
×
  • 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.