Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-29-2002, 07:29 AM
prozac424242 prozac424242 is offline
Registered User
prozac424242's Avatar
Join Date: May 2001
Location: Gone crazy: back soon
Posts: 356
prozac424242 is on a distinguished road
Send a message via ICQ to prozac424242 Send a message via AIM to prozac424242
Scripting/Math Challenge

A contest:

See who can be the first to use the
math on this web page

http://www.egwald.com/geometry/hyperbolicfunc.php


and simulate the graph

sinh
csch


or any of them actually.

and to show that i am not doing this just to get
someone to write npcs for me,

post a SCReENSHOT of the working npc.
i dont care to see a bit of code.

(thinks lighting effects could be cool heh)

The challenge is on!
__________________

Useful links:
Graal Stats
Client Script Functions-GS1 to GS2
Serverside Script Functions-Gscript page
Particle Engine-Player Attributes
Server Options-Admin rights-Gmaps
Quote:
Originally Posted by Admins
Thanks for developing and improving playerworlds and such
Reply With Quote
  #2  
Old 08-29-2002, 07:56 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
hyperbolic cosine: cosh(u) = .5 * (eu + e-u)
hyperbolic sine: sinh(u) = .5 * (eu - e-u)
hyperbolic tangent: tanh(u) = sinh(u) / cosh(u)
hyperbolic cotangent: coth(u) = cosh(u) / sinh(u)
hyperbolic secant: sech(u) = 1 / cosh(u)

ive never even heard of sinh, tanh, and coth
i've heard of cosh, i saw it when my class went to the Arch (Saint louis?) and it showed the formula they used to make it
Reply With Quote
  #3  
Old 08-29-2002, 08:18 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
oh, i see what ya mean, i probably wont get that far in math until like my junior year (Im only in algebra 1 ;.; im a freshman)
by any chance would those things be related to this
Math was made by giltwist, i just edited it a little
NPC Code:

disabledefmovement;
playerx=x;
playery=y;
for(a = 0;a<40;a++){
showimg a,hook_1.png,playerx-this.x-1,playery+this.y-1;
this.x+=.5*(25/20);
this.y=(.05)*(25/25)*this.x^2-this.x;
sleep .05;
}

Reply With Quote
  #4  
Old 08-29-2002, 08:30 AM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
LOL, that is one of the major reasons that Kai is so good @ scripting: he knows VERY high math. You can't comprehend how SOME things in math relate to scripting until you understand that section of math, he he. I'm in algebra 3-4 this year.
---Shifter
__________________
Quote:
*Stefan: it seems sometimes they hire newbie scripters everywhere x-x
*Stefan: scripters are sometimes like people that draw paintings
*Stefan: all that counts is that it looks nice
Reply With Quote
  #5  
Old 08-29-2002, 08:39 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Isn't the definition of the literary term Hyperbole: An over exageration? I've never seen hyperbolic funtions or whatnot before but why would they name them "Exagerated"? lol
__________________

subliminal message: 1+1=3
Reply With Quote
  #6  
Old 08-29-2002, 08:48 AM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
I don't want to think, the word has TOO many: letters, syllables, confusing ideas :P
---Shifter
__________________
Quote:
*Stefan: it seems sometimes they hire newbie scripters everywhere x-x
*Stefan: scripters are sometimes like people that draw paintings
*Stefan: all that counts is that it looks nice
Reply With Quote
  #7  
Old 08-29-2002, 10:00 AM
HoudiniMan HoudiniMan is offline
Playerworld Administrator
HoudiniMan's Avatar
Join Date: Dec 2001
Location: Calfiornia - USA
Posts: 3,512
HoudiniMan will become famous soon enough
I'm going into math analysis this year as a junior in high school... I think that's my school's name for it... The book is titled PreCalculus but I'm told there's Trig in it too... ack!
__________________
-HoudiniMan (Chief Playerworld Administrator)
Compulsive Support Center Checker - 5 Years and Change
Graal Support Center

Reply With Quote
  #8  
Old 08-29-2002, 10:28 AM
Jinx Jinx is offline
Radioactive Cow
Jinx's Avatar
Join Date: Sep 2001
Location: I duno...
Posts: 1,217
Jinx is on a distinguished road
Send a message via AIM to Jinx
I'm going into the highest possible math class at my school this year.

Then again... I'm only in 8th grade, so it's really not much to brag about.

-Jinx
__________________
Confucious2002: Cynical passed it's 2nd review! <3
InsaneFishP0sse: Yea =) Now if only Nemesis weren't dead
Confucious2002: *pokes nem*
InsaneFishP0sse: He got a severe paper cut last week and died of blood loss, very sad
Confucious2002: so unix took over his body?
InsaneFishP0sse: No, actually it was the NPC Server,
InsaneFishP0sse: Now if you PM Nemesis, he will go "I am Nemesis, the PW Admin, I handle almost all Playerworlds currently online"
Reply With Quote
  #9  
Old 08-29-2002, 10:39 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by Jinx
I'm going into the highest possible math class at my school this year.

Then again... I'm only in 8th grade, so it's really not much to brag about.

-Jinx
what is it? algebra 1?
the highest thing for freshman in my highschool is geometry/trigonometry, thats 2 years ahead of me
Reply With Quote
  #10  
Old 08-29-2002, 10:50 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Trig and geometry are very easy. Prepare for your introduction to proofs, the most annoying busywork I ever had to do.
__________________

subliminal message: 1+1=3
Reply With Quote
  #11  
Old 08-29-2002, 10:59 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
I personally think i'll do better in trig on geometry (when I get there) than in algebra, I just don't have the patience in algebra that my teacher requires me to do (show ALL work), I HATED my 8th grade pe-algebra teacher, she was always like 'BOX IN YOUR WORK OR IT GETS MARKED WRONG', I hope that high school isnt the same way
Reply With Quote
  #12  
Old 08-29-2002, 11:18 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
I just saw sinh, and the though of imaginary numbers from algebra popped in my head, and i've got a migrane right now.

Anyway, most people don't learn that level of Math unless they are going into architecture and such. Or if your Kaimetsu, a John Nash follower
Reply With Quote
  #13  
Old 08-29-2002, 11:34 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Quote:
Originally posted by Python523
I personally think i'll do better in trig on geometry (when I get there) than in algebra, I just don't have the patience in algebra that my teacher requires me to do (show ALL work), I HATED my 8th grade pe-algebra teacher, she was always like 'BOX IN YOUR WORK OR IT GETS MARKED WRONG', I hope that high school isnt the same way
You will hate proofs. and you will want to kill your teacher for making her teach you them.. but in the end, you better understand the formulai, Postulates (My pet name for them is prostitutes, I got a few kicks out of it while I attended my Geometry class, childish yes, but its fun to laugh at the stupid things in life.), Theorms, Axioms, whatever you're dealing with.
__________________

subliminal message: 1+1=3
Reply With Quote
  #14  
Old 08-29-2002, 11:53 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Quote:
Originally posted by Kaimetsu
I like proofs, personally.
We all have our preferences... I just didn't like proving anything that has already been proven before. It does enhance understanding SOMETIMES, but I hate busywork =\, and for the most part, the proofs I did were busywork.
__________________

subliminal message: 1+1=3
Reply With Quote
Reply


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 Jump


All times are GMT +2. The time now is 09:23 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.