Joshua Posted March 28, 2010 Posted March 28, 2010 *Note* This was originally the GRPG attack.script. **/End Note** This Mod Currently does the Following. 1. 1 Click Attack. 2. Takes the Attackers Armor + Guard and subtracts Defenders Weapon And Strength for the calculation of damage. 3. Takes the Defenders Weapon and Strength and subtracts it from the Attackers Guard and Armor for the calculation of damage. 4. Several query checks to secure. 5. Fully Functional Drop in replacement. 6. IF no primary or Secondary weapon the attacker uses his fists. Damage calculated by guard+armor - strength of attacker or defender. ANY problems post here i've only spent a few hours on this. This mod originall was the attack script from the GRPG engine, it's just been severly edited. There is a Far more Advanced Version of this using the Item Mod with Helmet/boots/Leggings etc that are calculated in, but I'm keeping those for my forums alone, have to have something to appeal to users ;-) If you are interested in that mod you can find it at http://www.Maketextgames.com Enjoy, any problems let me know. attack.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Zero-Affect Posted March 28, 2010 Posted March 28, 2010 I am pretty bored and knackered so i didn't test this but it may help (can tell i've been working with arrays lately...) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. I noticed when completing that it would need a little more editing to work with username and location but hell knock yourselves out im off to bed lol Quote
Joshua Posted March 28, 2010 Author Posted March 28, 2010 you and your darn jail/hospital array :P It's actually shorter in this script, though you're suggesting a global one i assume :P Someday i may actually write something out like that that'll work :P Quote
Joshua Posted March 28, 2010 Author Posted March 28, 2010 Aye i need to add one bit should take a few seconds, so it actually shows the weapon when you do the attacking instead of just saying fists simple stuff i was just focusing on the advanced version >< Quote
Jordan Palmer Posted March 28, 2010 Posted March 28, 2010 This look's pretty familiar 8| Could be me imaging things but this really does look familiar, Have you coded this from scratch or copied and pasted? Quote
iSOS Posted March 28, 2010 Posted March 28, 2010 *Note* This was originally the GRPG attack.script. **/End Note** Quote
jthreeb Posted June 18, 2010 Posted June 18, 2010 hey sweet code, thanks for it, i though i had a bunch of errors........all the text was white, so is my background, fixed, added a back button to both person wins so it's good to go! Quote
Joshua Posted June 20, 2010 Author Posted June 20, 2010 Glad to hear it, I tested the crap out of it and never had problems after i got it up and running, so some of these errors others are having is bizzarre to me, though i havent spent much time going through it again Quote
DELETE-ME-NOW- Posted July 12, 2010 Posted July 12, 2010 When i attack someone, it just says 'fight house'. Doesnt show me any info on the attack... Quote
rpgmonk Posted July 13, 2010 Posted July 13, 2010 what about when someone loses in hospital it shows old hospitaal reason and doesnt show that you attacked them. Quote
Joshua Posted October 4, 2010 Author Posted October 4, 2010 Odd as you can't be attacked when you are in the hospital? Quote
Djkanna Posted October 4, 2010 Posted October 4, 2010 So you're the one who made this attack system..... I personally am going to kick your ass for it Joshua. (I've fixed it so many times - granted modified). :P Good job. Quote
Joshua Posted October 4, 2010 Author Posted October 4, 2010 Yea i've been meaning to put the updated fixed program on here, just a few small things were leaking but all in all it works wonders. I just recently modified it for a client so that all the results get put into a sum Total ie instead of you hit for 1 they hit for1 you hit for 1 they hit for 1 etc it just sums up the while loop and does the outcome then prints out a message. Added some css / background boxes for the username/id and weapon picture they are using, then added the gang battle stuff into it. Let it be known i did not make this mod from scratch, i found it off the GRPG script and altered the hell out of it >< Quote
Djkanna Posted October 5, 2010 Posted October 5, 2010 Well then lets upgrade the heck out of it (hint hint). Quote
Joshua Posted October 5, 2010 Author Posted October 5, 2010 I have been and am continuing to do so. The original Mod i made of this was very basic. Then I made one where it uses the Multi Inventory Mod, same script just add-ons. Now I've totally re-done it for a customer to do what they want. My next Idea is to make a One Hit attack mod, so multiple users can attack the same person at once. Quote
Newbie Posted February 21, 2012 Posted February 21, 2012 can anyone help me with this when i goto attack it says You did not select a valid ID Quote
Lilith Posted March 5, 2012 Posted March 5, 2012 so, now that maketextgames is dead, where can we find the other version with multiple armors? and, when do we get to see this advanced version? I'm guessing all that this thread promises is as dead as maketextgames? Quote
Dominion Posted March 5, 2012 Posted March 5, 2012 so, now that maketextgames is dead, where can we find the other version with multiple armors? and, when do we get to see this advanced version? I'm guessing all that this thread promises is as dead as maketextgames? This? http://makewebgames.io/showthread.php/36573-Advanced-Attack-and-Inventory-Mod-One-Click Quote
Amorphous Posted June 20, 2012 Posted June 20, 2012 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. How to fix this error? Im already play around with this part : You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Sorry im still noobish. :o Thanks in advance. Quote
phhp10 Posted July 27, 2012 Posted July 27, 2012 I give this error to. You did not select a valid ID please help me. Quote
Primed Posted July 27, 2012 Posted July 27, 2012 (edited) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. I would use You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Edited July 27, 2012 by Primed typo Quote
mags Posted January 30, 2013 Posted January 30, 2013 the only issue im having with this mod is that when i win my health remains at 100% and ideals? Quote
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.