mrmiguu Posted October 26, 2008 Share Posted October 26, 2008 But why main your game's potential when you can keep it's speed the same, just allow higher stats by ridding of the design flaws that main the game's ability to a lower standard. (unless your computer isn't powerful enough to run eclipse at a decent speed, people should get a lot of lag just from the extra 2 bytes, thats just silly considering the game it's self can handle over 100 players, i don't think it's really necessary to limit yourself…) Link to comment Share on other sites More sharing options...
Skieth Posted October 26, 2008 Share Posted October 26, 2008 @MrMiguu:> But why main your game's potential when you can keep it's speed the same, just allow higher stats by ridding of the design flaws that main the game's ability to a lower standard. (unless your computer isn't powerful enough to run eclipse at a decent speed, people should get a lot of lag just from the extra 2 bytes, thats just silly considering the game it's self can handle over 100 players, i don't think it's really necessary to limit yourself…)its maim and wrong silly >_<the max hp isn't sent ONLY one time its sent multiple times (how many times you may ask? hell if I know, that requires actual LOOKING XD)so its at least AT LEAST a few kb, at most maybe a mb or twoof course this is all dependant on the time scale we are talking about… Link to comment Share on other sites More sharing options...
mrmiguu Posted October 26, 2008 Share Posted October 26, 2008 @Skieth:> its maim and wrong silly >_<> > the max hp isn't sent ONLY one time its sent multiple times (how many times you may ask? hell if I know, that requires actual LOOKING XD)> > so its at least AT LEAST a few kb, at most maybe a mb or two> > of course this is all dependant on the time scale we are talking about…main/Maim, w/e either way I'm talking about the Dim in the source, it's set MaxHP as Long, not integer, but the scroll bar only allows integers to be selected, so basically you can't use the MaxHP Variable to it's FULL potential unless you alter it to a text box where Long numbers may be entered… I wasn't talking about how it was sent, if 2bytes is that big a deal to you rather than having stronger boss monsters, then feel free to change the variable to Integer... lol Link to comment Share on other sites More sharing options...
shadowwulf Posted October 26, 2008 Share Posted October 26, 2008 why would an hp amount determine how strong they are?what about:defense/armor classdodge %agedeflect %ageregen rate.you should be able to have every player/npc have 100 hp and balance out difficulties. Link to comment Share on other sites More sharing options...
JadeCurt1ss Posted October 26, 2008 Author Share Posted October 26, 2008 *pulls up a moon chair, popcorn, and hot cocoa.*Do continue, gentlemen. Link to comment Share on other sites More sharing options...
mrmiguu Posted October 26, 2008 Share Posted October 26, 2008 @FS:CG :> link=topic=31706.msg302270#msg302270 date=1224994493]> why would an hp amount determine how strong they are?> what about:> defense/armor class> dodge %age> deflect %age> regen rate.> > you should be able to have every player/npc have 100 hp and balance out difficulties.I was referring to the actual time it takes to kill a boss monster, no the actual stats of the monster. Theres nothing wrong with having the full potential of _npcmaxhp as Long_ by changing the editor to suit this, no sense in arguing while this is only for players who would prefer having this option.Sincerely, MrMiguu Link to comment Share on other sites More sharing options...
Skieth Posted October 26, 2008 Share Posted October 26, 2008 Its just a simple debate lol… its always good to discuss the pros and cons of a source edit (well at least when a source edit comes maybe twice a month here XDDD)And it sends the max hp from the server to the client and back like whenever one is ressed, whenever you go to a map with a npc there, ect. its saves a small amount of time, but if you actually keep your game up long enough this adds up... and as for the other scroll bars that adds up too... like speed and magic, the scroll bars can't even be used and yet they are longs...WHY? this realistically ends up being.... at least 12 bytes on each npc for all of the stats (str, def, speed, magic, exp, hp, sight by tile, etc.). which is sent every time you go to a new map or whenever an npc respawns.hell for hp you could be better off just making it a byte (of course who knows if it would work) and making the max 255 and then just editting the other things like str and def to even it out =D Link to comment Share on other sites More sharing options...
xeross Posted October 29, 2008 Share Posted October 29, 2008 kewl, if this isnt in 3.0 ill add it myself Link to comment Share on other sites More sharing options...
Akselj Posted November 10, 2008 Share Posted November 10, 2008 Nothing happens when I edit it…. Anyone knows what might be the problem?Edit: NVM fixed it. Link to comment Share on other sites More sharing options...
PlatefieldLord Posted December 2, 2008 Share Posted December 2, 2008 This is one of the best source edits I've seen yet. You really opened a great amount of potential in Eclipse! You gave me a reason to go above Lvl. 500! XD Link to comment Share on other sites More sharing options...
kris_hole Posted December 2, 2008 Share Posted December 2, 2008 how wud u do this on say edit spell for the vital mod? or somethingm? Link to comment Share on other sites More sharing options...
Tyr Posted December 2, 2008 Share Posted December 2, 2008 @kris_hole:> how wud u do this on say edit spell for the vital mod? or somethingm?just the same? change the scrollbar to a textbox and replace .value to .text?you could have figured that out yourself no? ^^ Link to comment Share on other sites More sharing options...
kris_hole Posted December 2, 2008 Share Posted December 2, 2008 i tried and it went wrong but i probs missed something XD Link to comment Share on other sites More sharing options...
Syner Posted March 13, 2009 Share Posted March 13, 2009 Can this be done with defense too? I tried to do it with defense and changed the information around but I can't get it to work, can u help me? Link to comment Share on other sites More sharing options...
The Oracle Posted March 13, 2009 Share Posted March 13, 2009 probably. just do the same thing but with defense Link to comment Share on other sites More sharing options...
RayZ101 Posted August 25, 2010 Share Posted August 25, 2010 I think I might be necro, but I just really wanna bring this up, whenever you hit backspace to remove a number to change the hp, it keeps giving me the [That is not a number] thing. :lipsrsealed: Link to comment Share on other sites More sharing options...
DarkSpine Posted August 25, 2010 Share Posted August 25, 2010 Remove```Private Sub StartHP_KeyPress(KeyAscii As Integer) Dim Counter As Byte Dim IsNumber As Boolean IsNumber = False For Counter = 0 To 9 If Chr$(KeyAscii) = Trim(Counter) Then IsNumber = True Next If Not IsNumber Then MsgBox ("That is not a number.")End Sub```Would be a necro, but…> This rule doesn't apply to the following boards: Announcements, Engine Development, Debate, Forum Games, Tutorials, Resources, Working GUI's, GFX Tutorials, Scripting Tutorials (Sadscript), Script Database, Old Scripts, Eclipse Source Tutorials/Snippets, Eclipse Source Download, Programming Tutorials (+ sub-boards), Scripting Tutorials (+ sub-boards) and Eclipse Source Edits (+ sub-boards).Soo…Yeah, hope that helps ya.~Urame Link to comment Share on other sites More sharing options...
RayZ101 Posted August 25, 2010 Share Posted August 25, 2010 yeah, but then mah staff members might start messing around with the letters, and I dunno if that'll crahs the server or not, ahwell I'll just put a notice in a corner of the editor. :P Link to comment Share on other sites More sharing options...
DarkSpine Posted August 25, 2010 Share Posted August 25, 2010 That code doesn't stop you from inputting letters, it just brings up a notice, so you'd have to be careful anyways =PI'm sure there's a way to make it so the msgbox comes up only when you hit keys other than 0-9 and backspace, but I'm not so great with knowing key-codes in VB6 xDGl with your game.~Urame Link to comment Share on other sites More sharing options...
Robin Posted August 25, 2010 Share Posted August 25, 2010 Fixed up the code.```Private Sub StartHP_Validate() If Not IsNumeric(StartHP.text) Then MsgBox "Invalid input."End Sub``` Link to comment Share on other sites More sharing options...
RayZ101 Posted August 25, 2010 Share Posted August 25, 2010 Compile Error: Procedure declaration does not match description of event or procedure having the same name. Good try Robin, I checked it out, doesn't crash server, only person to do it so, np need for the letter blocking code I guess. Link to comment Share on other sites More sharing options...
Robin Posted August 25, 2010 Share Posted August 25, 2010 Yeah, I edited that without using VB6\. You'll need to create the VALIDATE procedure properly.```Private Sub StartHP_Validate(Cancel As Boolean) If Not IsNumeric(StartHP.text) Then MsgBox "Invalid input."End Sub```;D Link to comment Share on other sites More sharing options...
RayZ101 Posted August 25, 2010 Share Posted August 25, 2010 @Robin:> Yeah, I edited that without using VB6\. You'll need to create the VALIDATE procedure properly.> > ```> Private Sub StartHP_Validate(Cancel As Boolean)> If Not IsNumeric(StartHP.text) Then MsgBox "Invalid input."> End Sub> > ```> ;DDon't I like meself some fancy words I don't understand. ;DAnyways, thanks for the working code/script/source robin. :azn: Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now