Popular Post Mead Posted July 11, 2017 Popular Post Report Share Posted July 11, 2017 (edited) Decided to show the current state of Roat Pkz 317 combat with another thread it'll be highlighting what is wrong and what needs to be fixed urgently. Source: http://oldschoolrunescape.wikia.com/wiki/Hit_delay Magic Roat Pkz 317 On Current Roat Pkz 317 it takes 4 ticks from the point of casting on one square this is a bug because in these 4 ticks you can over eat food making for delayed combat where your waiting to be damaged but by the time you have been damaged by the 4 game tick delay it's too late to regenerate health. As said before in the Hit Delay picture above it should be 1 sq distance = 2 game ticks (1.2 seconds). OSRS Game Code for Magic Hit Delay formula if(c.usingMagic) { // magic hit delay int pX = c.getX(); int pY = c.getY(); int nX = Server.playerHandler.players.getX(); int nY = Server.playerHandler.players.getY(); int offX = (pY - nY)* -1; int offY = (pX - nX)* -1; c.castingMagic = true; c.projectileStage = 2; if(c.MAGIC_SPELLS[c.spellId][3] > 0) { if(getStartGfxHeight() == 100) { c.gfx100(c.MAGIC_SPELLS[c.spellId][3]); } else { c.gfx0(c.MAGIC_SPELLS[c.spellId][3]); } } if(c.MAGIC_SPELLS[c.spellId][4] > 0) { c.getPA().createPlayersProjectile(pX, pY, offX, offY, 50, 78, c.MAGIC_SPELLS[c.spellId][4], getStartHeight(), getEndHeight(), -i - 1, getStartDelay()); } if (c.autocastId > 0) { c.followId = c.playerIndex; c.followDistance = 5; } c.hitDelay = getHitDelay(c.getItems().getItemName(c.playerEquipment[c.playerWeapon]).toLowerCase()); c.oldPlayerIndex = i; c.oldSpellId = c.spellId; c.spellId = 0; Client o = (Client)Server.playerHandler.players; if(c.MAGIC_SPELLS[c.oldSpellId][0] == 12891 && o.isMoving) { //c.sendMessage("Barrage projectile.."); c.getPA().createPlayersProjectile(pX, pY, offX, offY, 50, 85, 368, 25, 25, -i - 1, getStartDelay()); } if(Misc.random(o.getCombat().mageDef()) > Misc.random(mageAtk())) { c.magicFailed = true; } else { c.magicFailed = false; } /** * Weapon and magic attack speed! **/ public int getAttackDelay(String s) { if(c.usingMagic) { switch(c.MAGIC_SPELLS[c.spellId][0]) { case 12871: // ice blitz case 13023: // shadow barrage case 12891: // ice barrage return 5; default: return 5; /** * How long it takes to hit your enemy **/ public int getHitDelay(String weaponName) { if(c.usingMagic) { switch(c.MAGIC_SPELLS[c.spellId][0]) { case 12891: return 4; case 12871: return 6; default: return 4; } } else { } public int getRequiredDistance() { if (c.followId > 0 && c.freezeTimer <= 0 && !c.isMoving) return 2; else if(c.followId > 0 && c.freezeTimer <= 0 && c.isMoving) { return 3; } else { return 1; } Ranged Roat Pkz 317 Old code says It's 3 game ticks (1.8 seconds) Everywhere. When it should be 3 ticks for 3 sq's distance instead and 1 Distance should equal 2 ticks, (if PID applies it'll be one tick) https://www.youtube.com/watch?v=-0H9XeNkiDs Lets look at the Magic Short bow for an example taken from old source code case 861: // magic short c.usingBow = true; c.bowSpecShot = 1; c.rangeItemUsed = c.playerEquipment[c.playerArrows]; c.getItems().deleteArrow(); c.lastWeaponUsed = weapon; c.startAnimation(1074); c.hitDelay = 3; = 3 game ticks 1.8 seconds. (No distances are included in the code) c.projectileStage = 1; c.specAccuracy = 1.50; c.hitDelay = getHitDelay(c.getItems().getItemName(c.playerEquipment[c.playerWeapon]).toLowerCase()); if (c.fightMode == 2) c.attackTimer--; if (c.playerIndex > 0) fireProjectilePlayer(); else if (c.npcIndex > 0) fireProjectileNpc(); break; Projectile Ranged Melee When casting barrage then using special (or any melee combat weapon) vs your opponent from one square you're able to stack hits because of the hit delay that roat pkz has this is wrong and nothing like OSRS it should only be via distance only: Special Attack distance w/ Magic & Melee Hit delay bug Result Taking into account the distance Hit delay that OSRS uses on Roat Pkz it doesn't exist as it is has not been written into the code making for "unrealistic" enough combat that people on this server think is the norm, you're playing with obvious combat bugs that shouldn't be there and makes no sense making this server a "OSRS" server if you can't get the fundamentals of a combat system right. Should focus on fixing your combat on the current game as these are very easy fixes to do for a pk server and can be fixed within 30 minutes and not 6 years. Other Threads Edited August 5, 2017 by Mead 16 Quote Link to comment Share on other sites More sharing options...
Happyaku Posted July 11, 2017 Report Share Posted July 11, 2017 (edited) The combat is dumb and @Dr4g0nb0ys0n and others keep saying its close to rs yet how? l0l0l!!!!!!! Edited July 11, 2017 by Happyaku Quote Link to comment Share on other sites More sharing options...
Killbob Posted July 11, 2017 Report Share Posted July 11, 2017 Roat is a private server if you want the real thing go play osrs also combat has been reworked for new client Quote Link to comment Share on other sites More sharing options...
Tesfxye Posted July 11, 2017 Report Share Posted July 11, 2017 anyone who says the combat isn't fucked is lying Quote Link to comment Share on other sites More sharing options...
JBLIND Posted July 11, 2017 Report Share Posted July 11, 2017 I like the thread, the reason why the combat is so off on here is coz the client is so fucking old. The new client which is literally about to come about will have this all fixed. SO WE HOPE Quote Link to comment Share on other sites More sharing options...
Happyaku Posted July 11, 2017 Report Share Posted July 11, 2017 LMFAO at all the retards thinking a client is server sided. Timers = server sided. Client = looks. New client isnt saving shit retards Do u even no java? should get hohgfohogfhoo ragger to teach u how to script 2 Quote Link to comment Share on other sites More sharing options...
Hyb My Ass Posted July 11, 2017 Report Share Posted July 11, 2017 59 minutes ago, Mead said: can be fixed within 30 minutes and not 6 years. savage Quote Link to comment Share on other sites More sharing options...
hide in swamp Posted July 11, 2017 Report Share Posted July 11, 2017 1 hour ago, Killbob said: Roat is a private server if you want the real thing go play osrs also combat has been reworked for new client this is the problem people hold why games do not get fixed Quote Link to comment Share on other sites More sharing options...
Happyaku Posted July 11, 2017 Report Share Posted July 11, 2017 LOOOOOOOOOOOOOOOOOOL AT THE VIDEO!!!!!!!!!!!!!!!! Quote Link to comment Share on other sites More sharing options...
Yoobs Posted July 11, 2017 Report Share Posted July 11, 2017 2 hours ago, JBLIND™ said: I like the thread, the reason why the combat is so off on here is coz the client is so fucking old. The new client which is literally about to come about will have this all fixed. SO WE HOPE No it's not you delusional fuck?? It takes 5 seconds to change the formula server side, has absolutely no relevance to the client at all ??? It's because no-one ever bothered to implement any decent combat formula's on the game 1 Quote Link to comment Share on other sites More sharing options...
Happyaku Posted July 11, 2017 Report Share Posted July 11, 2017 (edited) 3 minutes ago, Yoobs said: No it's not you delusional fuck?? It takes 5 seconds to change the formula server side, has absolutely no relevance to the client at all ??? It's because no-one ever bothered to implement any decent combat formula's on the game even though u have autism it seems in this case u do not. How can people not understan a client is only looks etc. Server sided = the code timers... etc how things work yet people think the client is noahs arc Edited July 11, 2017 by Happyaku Quote Link to comment Share on other sites More sharing options...
Dr4g0nb0ys0n Posted July 11, 2017 Report Share Posted July 11, 2017 nice yo @Happyaku u slow nher brodar ;p nfs Quote Link to comment Share on other sites More sharing options...
HICK0RY Posted July 11, 2017 Report Share Posted July 11, 2017 state of this server and ppl think its competitive : joy : Quote Link to comment Share on other sites More sharing options...
Pedro Posted July 11, 2017 Report Share Posted July 11, 2017 u are the hero we need big up urself. also LMK how to get the peng EXP drops pls Quote Link to comment Share on other sites More sharing options...
Smackd Posted July 11, 2017 Report Share Posted July 11, 2017 Good thread, take a look @Gretar and don't ignore this. 1 Quote Link to comment Share on other sites More sharing options...
Craig Posted July 12, 2017 Report Share Posted July 12, 2017 @Gretar will ignore this cause he's lazy and don't care aslong as he's making $$& Quote Link to comment Share on other sites More sharing options...
Persona Posted July 12, 2017 Report Share Posted July 12, 2017 YHYH woteva HOW DO U CUSTOMIZE ur client like that man 1 Quote Link to comment Share on other sites More sharing options...
Mead Posted July 13, 2017 Author Report Share Posted July 13, 2017 (edited) garbage server Edited July 17, 2017 by Mead Quote Link to comment Share on other sites More sharing options...
SmokeyMontana Posted July 13, 2017 Report Share Posted July 13, 2017 @Gretar either u dont know what to do or u just dont wanna do it hire this guy and get the work done Quote Link to comment Share on other sites More sharing options...
Mead Posted July 13, 2017 Author Report Share Posted July 13, 2017 (edited) On 7/11/2017 at 7:47 PM, Killbob said: Roat is a private server if you want the real thing go play osrs also combat has been reworked for new client garbage server Edited July 17, 2017 by Mead Quote Link to comment Share on other sites More sharing options...
Gretar Posted July 13, 2017 Report Share Posted July 13, 2017 Yes good topic, has been fixed and will come with client, here is example https://gyazo.com/80c2c3e93a49d3dd37886fbf211c350e, magic also good! Quote Link to comment Share on other sites More sharing options...
repent Posted July 13, 2017 Report Share Posted July 13, 2017 15 minutes ago, Gretar said: Yes good topic, has been fixed and will come with client, here is example https://gyazo.com/80c2c3e93a49d3dd37886fbf211c350e, magic also good! CooL! Quote Link to comment Share on other sites More sharing options...
Happyaku Posted July 13, 2017 Report Share Posted July 13, 2017 25 minutes ago, Gretar said: Yes good topic, has been fixed and will come with client, here is example https://gyazo.com/80c2c3e93a49d3dd37886fbf211c350e, magic also good! So why is tom dwan got client? because he gave $9k? release the client since you're giving it away for free Quote Link to comment Share on other sites More sharing options...
Somalia Posted July 13, 2017 Report Share Posted July 13, 2017 25 minutes ago, Happyaku said: So why is tom dwan got client? because he gave $9k? release the client since you're giving it away for free Ask Salad for it and receive it. Getting access to it is easy, I think everybody has it by now except for you Quote Link to comment Share on other sites More sharing options...
Dr4g0nb0ys0n Posted July 16, 2017 Report Share Posted July 16, 2017 still gotta give a big +1 to this topic, good job demonic dan Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.