Rules FAQ Members List Search Register Login

 Raised This Month: \$94 Target: \$400 23%

Plugin Info:     Modification:   ALL        Category:   Fun Stuff        Approver:   GHW_Chronic (70)
Silencer123
Veteran Member
Join Date: Jul 2006
Location: Germany (GMT+1)
09-12-2006 , 18:33   Maths Genius
#1

Current Version: 2.0
From time to time this Plugins creates an Exercise.
For Example after 60 Seconds with the CVars
adjusted as below an Exercise like this may come:
[MG] Solve: 65+44+72
first will be awarded with Health and Armor:
say 181

amx_mg_level 2 // Difficulty
amx_mg_tries 2 // Tries for each Exercise
amx_mg_frequency 60.0 // Frequency in Seconds
amx_mg_award_hp 35 // HP Award
amx_mg_award_ap 10 // AP Award

Have Fun!
;)
Attached Files
 Get Plugin or Get Source (maths_g.sma - 2324 views - 5.1 KB)
__________________

Last edited by Silencer123; 09-13-2006 at 10:43.
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
 09-12-2006 , 18:37   Re: Maths Genius #2 Try spreading out your description a bit...Kinda hard to read.
Silencer123
Veteran Member
Join Date: Jul 2006
Location: Germany (GMT+1)
 09-12-2006 , 18:40   Re: Maths Genius #3 Better that way? ^^ __________________ EAT YOUR VEGGIES
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
 09-12-2006 , 20:13   Re: Maths Genius #4 suggestion: add more than addition Code: ```switch(random(3)) { case 0:{ format(message, length, "+%d",a) solution += a } case 1:{ format(message, length, "-%d",a) solution -= a } case 2:{ format(temp, length, message) format(message, length, "(%s)/%d",temp,a) solution /= a } case 3:{ format(temp, length, message) format(message, length, "(%s)*%d",temp,a) solution *= a } }``` too lazy to think of how you would add division and multiplication correctly. original though edit: look again, i made a way that might work. another suggestion: try to make it a loop that just repeats based on the cvar Last edited by Emp`; 09-12-2006 at 20:50.
Silencer123
Veteran Member
Join Date: Jul 2006
Location: Germany (GMT+1)
 09-13-2006 , 08:25   Re: Maths Genius #5 multiplication maybe, but division would need floats and everything. does amxx know point before line calcuting rule? (3+3*3 is 12, not 18 ((3+3)*3)) EDIT: Important update! Please redownload! __________________ EAT YOUR VEGGIES Last edited by Silencer123; 09-13-2006 at 10:43.
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
 09-13-2006 , 17:40   Re: Maths Genius #6 Amazing, maybe you can make CS players smarter than a bowl of yogurt (and by that I mean all of them combined) with this. __________________
Charming
BANNED
Join Date: Nov 2005
 09-13-2006 , 17:48   Re: Maths Genius #7 I dont like this idea if there to dumb to pay attention in school what makes you think they'll pay attention in a game.
Silencer123
Veteran Member
Join Date: Jul 2006
Location: Germany (GMT+1)
09-13-2006 , 17:54   Re: Maths Genius
#8

Quote:
 Originally Posted by Charming I dont like this idea if there to dumb to pay attention in school what makes you think they'll pay attention in a game.
The Plugin awards them with Health and Armor - Thats why.
__________________
Zenith77
Veteran Member
Join Date: Aug 2005
09-14-2006 , 13:27   Re: Maths Genius
#9

Quote:
 Originally Posted by Silencer123 multiplication maybe, but division would need floats and everything. does amxx know point before line calcuting rule? (3+3*3 is 12, not 18 ((3+3)*3)) EDIT: Important update! Please redownload!
Or, here is a crazy idea, a bad one, but it might work. Store the value in a string, and convert them with str_to_float(), etc. where ever needed.

Code:
```new solution[] = "1337";
new num = str_to_num(solution);

// =======================

new solution[] = "867.5309";
new Float:flNum = str_to_float(solution);```
__________________
Quote:
 Originally Posted by phorelyph your retatred
Silencer123
Veteran Member
Join Date: Jul 2006
Location: Germany (GMT+1)
 09-14-2006 , 15:04   Re: Maths Genius #10 the problem is if we got something like 97/95 or so. u cant do that with ur brain now can u? __________________ EAT YOUR VEGGIES

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Server Discussion     Source Servers (SRCDS)     HL1 Servers (HLDS) AMX Mod X     News     Bug Reports     General     Off-Topic     Plugins         Suggestions / Requests         Approved Plugins         New Plugin Submissions         Unapproved/Old Plugins         Translation Request         High-Traffic Plugins             GunGame             UAIO (Ultimate All-In-One Plugin)             xREDIRECT             CSDM             AMX Super             RuneMod             Zombie Plague Mod             SuperHero Mod                 News                 Tech Support                 Scripting Help                 Off-Topic / General Chat                 Heroes                     Suggestions / Requests                     Approved Heroes                     New Submissions                     Unapproved/Old Heroes                         Module Heroes                     SuperHero Mod Stats - By 123                 (OLD) Bug Reports     Scripting         Scripting Help         Code Snippets/Tutorials         Module Coding     Donor Access SourceMod     News     General     Plugins         Plugins         Unapproved Plugins         Plugin/Gameplay Ideas and Requests         High-Traffic Plugins             SourceMod Anti-Cheat             Zombie:Reloaded             SourceBans / SourceBans++             VSH / Freak Fortress             Store             SM_Hosties             HLstatsX:CE     Scripting     Extensions     Snippets and Tutorials     Donor Access     Metamod: Source         Metamod:Source Plugins         Metamod:Source Questions         Coding MM:S Plugins & SM Extensions Hosted Stuff     Asherkin's Plugins         TF2Items         TFDodgeball         SteamTools     Bail's Plugins         CSDM         CS:S DM Off-Topic & Trash     Off-Topic     Trash

All times are GMT -4. The time now is 02:05.

 DMCA - Archive - Top