The McLeodGaming forums were permanently closed on April 30th, 2020. You are currently viewing a read-only archive.
View unanswered posts | View active topics It is currently Fri May 15, 2020 2:12 am

Forum rules


DO NOT POST SSF2 OR GAME IDEAS/QUESTIONS IN THIS FORUM!

For SSF2 Discussion, please go here: http://forums.mcleodgaming.com/viewforum.php?f=4



 [ 37 posts ]  Go to page 1, 2, 3  Next
Throw dices option: 
Author Message
User avatar

Joined: Sun Aug 17, 2008 5:39 pm
Posts: 1248
Gender: Anime Girl
Skype: Nacritico
Currently Playing: LOL
Well, I've recentley discovered thet forumnation (a free forums hoster) gives you an special feature called "Throw dices". Besides that functions, it has other features dedicated to RP'ing, but I don't believe they are as important as the "Throw dices".

Basically, this functions allows to use a code-object called "dice" (with a fixed number of faces) to randombly create a number (beetwen those faces) the amount of times you want.

...

I was impressed because I think that such a thing can make the RP' section a lot, A LOT FUNNIER; if we include the luck as a new factor.

So I would suggest you to look up for a similar way to do this in this lenguage...

...

I read that you can use [randm] A/B[/randm] in BBcode2 (The result will be a number beetwen A and B) , so there might be a similar function in BBcode3.

So, that's my request.... Basically, I want something similar.


Here you have an example, where "try luck" is the function to throw dices

_________________
SALU2'S Image
_________________
Original forum: show
join date: January 08, 2007
Posts on old MG: 2432, level 16

Image
Image chóu


Thu Feb 12, 2009 12:50 pm
User avatar

Joined: Fri Aug 15, 2008 10:03 pm
Posts: 2825
Location: being a genius Gender: little girl
Country: Japan (jp)
Gender: Anime Girl
Joat used something like that with Java, but it had a huge code..


Thu Feb 12, 2009 3:03 pm
Site Moderator
User avatar

Joined: Mon Aug 11, 2008 10:41 am
Posts: 10108
Country: Christmas Island (cx)
Gender: Female
Waifu: Trollbean
Itsame has it on his forum, too.

_________________


Thu Feb 12, 2009 3:34 pm
User avatar

Joined: Sat Aug 16, 2008 6:37 pm
Posts: 309
Location: In the closet.....HELP!!
Gender: Male
TerminX wrote:
Itsame has it on his forum, too.


Yeah..Just remebered that...Well you remebered me

Would be cool....

_________________
~BELIEVE IN YUKIISM......INTEGRATED DATA ENTITIES ARE AWESOME!~
Image
Image


Thu Feb 12, 2009 4:42 pm
YIM
Site Moderator
User avatar

Joined: Mon Aug 11, 2008 10:41 am
Posts: 10108
Country: Christmas Island (cx)
Gender: Female
Waifu: Trollbean
195zhadow wrote:
TerminX wrote:
Itsame has it on his forum, too.


Yeah..Just remebered that...Well you remebered me

Would be cool....

...

Nope, no idea who you are.

_________________


Thu Feb 12, 2009 5:09 pm
Legendary Ghost
User avatar

Joined: Mon Aug 04, 2008 7:44 am
Posts: 1031
Location: Pennsylvania
Country: United States (us)
Gender: Male
well I'm not sure how to implement this. I tested out a javascript random tag real quick but there's two problems
1) It screws up the page
2) You get a different random number every time you refresh the page

I will work on it and see what I can get.
EDIT:
Well you can get a random number now, but changes everytime you refresh the page
Example: [rand][/rand]
^^^Hit F5 to see it change.

_________________
Place all complaints in the circular file.


Thu Feb 12, 2009 5:32 pm
Site Moderator
User avatar

Joined: Mon Aug 11, 2008 10:41 am
Posts: 10108
Country: Christmas Island (cx)
Gender: Female
Waifu: Trollbean
Deep Thought 42 wrote:
well I'm not sure how to implement this. I tested out a javascript random tag real quick but there's two problems
1) It screws up the page
2) You get a different random number every time you refresh the page

I will work on it and see what I can get.
EDIT:
Well you can get a random number now, but changes everytime you refresh the page
Example: [rand][/rand]
^^^Hit F5 to see it change.

Intercourse-tastic.

But that happened on Itsame's forum too, I think.

[rand]If you put text in the code, it fails.[/rand]

_________________


Thu Feb 12, 2009 5:48 pm
Legendary Ghost
User avatar

Joined: Mon Aug 11, 2008 6:42 am
Posts: 12630
Location: Belgium
Country: Belgium (be)
Gender: Male
Currently Playing: Final Fantasy XI, Left 4 Dead 2
Deep Thought 42 wrote:
well I'm not sure how to implement this. I tested out a javascript random tag real quick but there's two problems
1) It screws up the page
2) You get a different random number every time you refresh the page

I will work on it and see what I can get.
EDIT:
Well you can get a random number now, but changes everytime you refresh the page
Example: [rand][/rand]
^^^Hit F5 to see it change.

AKA :

Completely and utterly useless for what it's meant for.

_________________
Play Smite with me? (It's like LoL or Dota, but less frustrating)

Image

"Jesus promised the end of all wicked people. Odin promised the end of all ice giants. I don't see many ice giants around."


Thu Feb 12, 2009 5:54 pm
Site Moderator
User avatar

Joined: Mon Aug 11, 2008 10:41 am
Posts: 10108
Country: Christmas Island (cx)
Gender: Female
Waifu: Trollbean
Hakker wrote:
Deep Thought 42 wrote:
well I'm not sure how to implement this. I tested out a javascript random tag real quick but there's two problems
1) It screws up the page
2) You get a different random number every time you refresh the page

I will work on it and see what I can get.
EDIT:
Well you can get a random number now, but changes everytime you refresh the page
Example: [rand][/rand]
^^^Hit F5 to see it change.

AKA :

Completely and utterly useless for what it's meant for.

Woah.

It even changes when quoted.

_________________


Thu Feb 12, 2009 6:00 pm
User avatar

Joined: Fri Aug 15, 2008 10:03 pm
Posts: 2825
Location: being a genius Gender: little girl
Country: Japan (jp)
Gender: Anime Girl
TerminX wrote:
Hakker wrote:
Deep Thought 42 wrote:
well I'm not sure how to implement this. I tested out a javascript random tag real quick but there's two problems
1) It screws up the page
2) You get a different random number every time you refresh the page

I will work on it and see what I can get.
EDIT:
Well you can get a random number now, but changes everytime you refresh the page
Example: [rand][/rand]
^^^Hit F5 to see it change.

AKA :

Completely and utterly useless for what it's meant for.

Woah.

It even changes when quoted.

Well, Joat's method was probably using the preview button, and then using that number, deleting the tags, and then writing that number in.
Really tedious, so a default tag for this would be nice.


Thu Feb 12, 2009 6:38 pm
User avatar

Joined: Mon Aug 11, 2008 9:41 am
Posts: 1913
Location: In a candy coated heart of darkness. (free hugs!)
Country: United States (us)
*Cough*

Just go buy a set of dice.

_________________
When my eyes be rollin'
The haters get goin'
The seeds I'm sowin'
With a smile I'm flowin'
And if I be trollin'
Ya never be knowin'
'Cause when the haters get goin'
My eyes just start a-rollin'


Thu Feb 12, 2009 6:57 pm
User avatar

Joined: Fri Aug 15, 2008 10:03 pm
Posts: 2825
Location: being a genius Gender: little girl
Country: Japan (jp)
Gender: Anime Girl
Negative Null wrote:
*Cough*

Just go buy a set of dice.

We're all poor. Go take your ego somewhere else.


Thu Feb 12, 2009 7:10 pm
User avatar

Joined: Sun Aug 17, 2008 5:39 pm
Posts: 1248
Gender: Anime Girl
Skype: Nacritico
Currently Playing: LOL
Hakker wrote:
Deep Thought 42 wrote:
well I'm not sure how to implement this. I tested out a javascript random tag real quick but there's two problems
1) It screws up the page
2) You get a different random number every time you refresh the page

I will work on it and see what I can get.
EDIT:
Well you can get a random number now, but changes everytime you refresh the page
Example: [rand][/rand]
^^^Hit F5 to see it change.

AKA :

Completely and utterly useless for what it's meant for.


Hakker is right... that command is useless for RPG.

the command I found ONLY changed when you edit the post...
so if you avoid editing a post, you could use it to test luck.
(you can see if a post has been edited, so there is no way of cheating)

_________________
SALU2'S Image
_________________
Original forum: show
join date: January 08, 2007
Posts on old MG: 2432, level 16

Image
Image chóu


Thu Feb 12, 2009 7:29 pm
User avatar

Joined: Mon Aug 11, 2008 11:33 am
Posts: 846
I can forsee it not being that useless...
Dungeons and Dragons-eseque RPGs, anyone?

_________________
I now leave you with my theme song.

My sprite gallery.


Thu Feb 12, 2009 9:42 pm
Legendary Ghost
User avatar

Joined: Mon Aug 11, 2008 6:42 am
Posts: 12630
Location: Belgium
Country: Belgium (be)
Gender: Male
Currently Playing: Final Fantasy XI, Left 4 Dead 2
Aiden wrote:
I can forsee it not being that useless...
Dungeons and Dragons-eseque RPGs, anyone?

Didn't you pay attention?

It refreshes whenever you load the page.

_________________
Play Smite with me? (It's like LoL or Dota, but less frustrating)

Image

"Jesus promised the end of all wicked people. Odin promised the end of all ice giants. I don't see many ice giants around."


Thu Feb 12, 2009 9:43 pm
Display posts from previous:  Sort by  
 [ 37 posts ]  Go to page 1, 2, 3  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF.