Jump to content

WHITELIONX

Member
  • Posts

    31
  • Joined

  • Last visited

Everything posted by WHITELIONX

  1. And where does it inject that code into the Conquer.exe? Does it load a webpage before it loads into the .exe?
  2. It also loads the page on exit as well, I've searched for the webpage in the exe but not sure what to actually search for? The site is a facebook page for DevConquer0 but every search I've done comes up with nothing I've managed to stop the popup redirect though by editing out the http://co.99.com/signout/ but that's only for exiting. Any pointers in what I should look for
  3. When you are ingame and open up your inventory you get a little cps symbol and if you click it you are sent to conquers website to purchase cps, my question is this where do I go to edit the url? I must have figured it out previously because it sends me to my old http site but it is no longer http and is https so I need to change it but can't for the life of me remember where I changed it in the first place lmao. I've been checking in the .ini folder even StrRes.ini Okay it's in common.ini for future reference if needed :)
  4. Not sure if it's the correct way but it works and no more error of no mana in cities public override void SetDisguise(Database.Domain.DbMonstertype _mob, long _duration, bool increaseAS) { if (!Alive) return; LastServerJump -= 1000; LastClientJump -= 1000; if (_mob == null) { var pctLife = Life * 100 / MaximumLife; Transformation = 0; waitingAttackSpeedFix = true; Recalculate(); Life = MaximumLife * pctLife / 100; } else { AddStatus(Enum.ClientStatus.TransformationTimeout, (int)_mob.Mesh, _duration); CombatStats = CombatStatistics.Create(_mob); if (increaseAS) { CombatStats.BonusHitratePct += 50; // todo: adjust this value } Transformation = (ushort)_mob.Mesh; TransformationAttackSpeed = CombatStats.BonusHitratePct; Send(UpdatePacket.Create(UID, UpdateType.MaxLife, MaximumLife)); Life = MaximumLife; Send(UpdatePacket.Create(UID, UpdateType.MaxMana, MaximumMana)); CombatStats.MaxMana = (ushort)(Common.GetTaoistManaBonus(MaximumMana) * 100); } }
  5. I had it working correctly but because of a stupid Win 11 update I had to reinstall Win 10 to my PC, I can't for the life of me remember the source I had checked to fix it in the first place but basically it's the no mana when transformed. I thought the issue was in player.cs but under "public override void SetDisguise(Database.Domain.DbMonstertype _mob, long _duration, bool increaseAS)" but seems no matter what is added then the issue is also replicated in TG? Full code public override void SetDisguise(Database.Domain.DbMonstertype _mob, long _duration, bool increaseAS) { if (!Alive) return; LastServerJump -= 1000; LastClientJump -= 1000; if (_mob == null) { var pctLife = Life * 100 / MaximumLife; //var pctMana = Mana * 100 / MaximumMana; Transformation = 0; waitingAttackSpeedFix = true; Recalculate(); Life = MaximumLife * pctLife / 100; //Mana = (ushort)(MaximumMana * pctMana / 100); } else { AddStatus(Enum.ClientStatus.TransformationTimeout, (int)_mob.Mesh, _duration); CombatStats = CombatStatistics.Create(_mob); if (increaseAS) { CombatStats.BonusHitratePct += 50; // todo: adjust this value } Transformation = (ushort)_mob.Mesh; TransformationAttackSpeed = CombatStats.BonusHitratePct; Send(UpdatePacket.Create(UID, UpdateType.MaxLife, MaximumLife)); Life = MaximumLife; //Mana = MaximumMana; //Mana = (ushort)CombatStats.MaxMana; } } I'm sure the answer is already in player.cs public override void SetDisguise(Database.Domain.DbMonstertype _mob, long _duration, bool increaseAS) { if (!Alive) return; LastServerJump -= 1000; LastClientJump -= 1000; if (_mob == null) { var pctLife = Life * 100 / MaximumLife; //var pctMana = Mana * 100 / MaximumMana; Transformation = 0; waitingAttackSpeedFix = true; Recalculate(); Life = MaximumLife * pctLife / 100; //Mana = (ushort)(MaximumMana * pctMana / 100); } else { AddStatus(Enum.ClientStatus.TransformationTimeout, (int)_mob.Mesh, _duration); CombatStats = CombatStatistics.Create(_mob); if (increaseAS) { CombatStats.BonusHitratePct += 50; // todo: adjust this value } Transformation = (ushort)_mob.Mesh; TransformationAttackSpeed = CombatStats.BonusHitratePct; Send(UpdatePacket.Create(UID, UpdateType.MaxLife, MaximumLife)); Send(UpdatePacket.Create(UID, UpdateType.MaxMana, MaximumMana)); Life = MaximumLife; //Mana = MaximumMana; //Mana = (ushort)CombatStats.MaxMana; } }
  6. Yes and thank you :)
  7. Any idea what patch the flashlogin.ini was actually added?
  8. So the question is how would I add music to the login? Is it even possible?
  9. Which version of Redux? Couldn't find the handler. On 3.05 it does handle by type, afair it does use type 12 (Collide) and it's not handled in that version I'm honestly not sure, it's a 5017 server I have however found the collide section private void LaunchCollide() { try { var direction = targetUID; var targetLoc = new Space.Point(location.X + Common.DeltaX[direction], location.Y + Common.DeltaY[direction]); foreach (var t in owner.Map.QueryBox<Entity>(owner, 3)) { if (t == owner) continue; if (!IsValidTarget(t)) continue; if (t.HasEffect(ClientEffect.Fly)) continue; if ((t.Location.X == owner.Location.X && t.Location.Y == owner.Location.Y) || (t.Location.X == targetLoc.X && t.Location.Y == targetLoc.Y)) { this.target = (Entity)t; owner.X = (ushort)(owner.X + Common.DeltaX[direction]); owner.Y = (ushort)(owner.Y + Common.DeltaY[direction]); break; } } if (!IsInSkillRange(target, skill) || !IsValidTarget(target)) AbortAttack(); else { packet.Data = targetUID; uint dmg = owner.CalculatePhysicalDamage(target, skill); packet.AddTarget(target.UID, dmg); if (owner is Player) { var expGain = owner.CalculateExperienceGain(target, dmg); ((Player)owner).GainExperience(expGain); AddSkillExperience(skill.ID, 1); } } } catch (Exception exceptionInfo) { Common.LogException(owner == null ? "LaunchSkill" : owner.Name, exceptionInfo); } }
  10. Not really sure where to look, skill works but doesn't actually cause damage. I assumed it would be in combat manager yet I don't see any mention of it or the ID?
  11. I have no idea why it did it but it's only for personal playing around with and experimenting
  12. Hmmmmm I decided to comment out the line in question and lo and behold the npc works? I am running the base using vs 2010 because 2019 actually throws a blowfish error if I try to debug using vs 2019 anyways the line in question is "dialog.Text("I can teleport you in any of the main cities, market or mine for 100 silvers. Do you want to go somewhere?");" I figured there was too much dialog used so deleted the last part of said dialog and it works, just weird imho but hey at least the error has now gone lol
  13. I did a quick internet check to find out why I was getting a "outofmemory" error and I have attempted to rectify the error, however the solution given also gives issues namely unable to login until the properties are changed back to Any CPU. The problem seems to come from TC Conductress but I am unsure of what to try next.
  14. But at least we have the option of flash even if it's ancient lol
  15. I think I actually got it from Adobe site ironically, I recall reading about a version just before they added the "time bomb" flash player 32.0.0.445 or 32.0.0.465 either way I downloaded them both and installed to my PC and it seems that it did the trick https://www.adobe.com/support/flashplayer/debug_downloads.html
  16. The hook that I'm using is conquerloader from DaRkFox it did work on my old PC but like I said I had to get a new PC, old one kept overheating badly. I will try running as admin though, not sure if I have even tried that. Hmmmm and now it decides to work o.O I am now just more confused lol but at least it decided to work. I probably just needed to restart the PC after installing the ancient flash that is still available, regardless it's loading up with no error message now :)
  17. I decided to buy a new PC which didn't have flash at all which was fine or so I thought then I tried to load up an older client and it threw the you nee to install flash message and that was using the "flash fix". So right now I'm pretty stuck :/ I have managed to install a really old version of flash but to no avail, any ideas?
  18. Same problem as darkfox, I have tried winzip, 7zip and winrar but it seems it's a header issue
  19. Really? I haven't had any problems with opening ports on Windows 10. Are you sure you're opening the ports properly with your firewall and router? I am good lol, I found that after opening ports or what I thought was open I had to go through control panel/windows defender firewall/advanced settings and double check the inbound rules
  20. Good old Windows 10, it doesn't open ports properly.
  21. Appreciated and thank you for the reply :)
  22. Do I add portals to database or source? Perhaps a brief tutorial for adding things such as portals and basic NPCs for complete novices such as myself.
  23. Nice never knew this and client editing is something I absolutely love
  24. I meant it registered in the comet.game database under characters, actually looking at it both registered. As for me I need to rest my head now though, I have even already opened the ports as well but iirc I've had login issues before which were port related. Windows firewall can be dumb at times but I'm pretty sure I allowed Comet.Account.exe and Comet.Game.exe
  25. Before I do that is it only comet.account.sql and comet.game.sql that I need to upload to mysql? No need for the upgrades or? It has saved a new character as I tried again, first one said it was created but it didn't show for me but creating a new one and it is now showing but still no login.
×
×
  • Create New...