Page 2 of 2

IceTeks Cybervillage

Posted: Wed Aug 13, 2003 1:08 am
by Red Squirrel
I added the quiz script. Now we just need to come up with some quizzes to add in the db. :P

Archived topic from Iceteks, old topic ID:1194, old post ID:10756

IceTeks Cybervillage

Posted: Wed Aug 13, 2003 7:10 pm
by Chris Vogel
Red Squirrel wrote: So tak, I'm sure you can come up with an English and math quiz :evil: :P
An English quiz? I don't know what you would want though. :P As for the math, I would rather not touch that. I understand it, but I don't want to make quizzes over it. Plus, I don't even know how to make square root signs and stuff. :lol:

I'll think of some questions. I challenge myself with grammar all the time. :roflmao2:

Archived topic from Iceteks, old topic ID:1194, old post ID:10758

IceTeks Cybervillage

Posted: Wed Aug 13, 2003 7:20 pm
by Red Squirrel
Sounds good. I'll program a script tonight so everyone can submit quizzes, it will cost itbucks. It will be the first use for itbucks so far. :roflmao2:

It will also be a free way of making itbucks as you will be able to take the same quiz over and over to gain itbucks. :lol: But if it gets out of hand I might add a feature to only let members do it once per month or so. It would involve some messy logs with month names and member names in them though but it would work. But since this cybervillage thing is an ongoing project it will remain as simple and easy to make bucks as possible.

I also deleted that bill gates account. :biglaugh: but I spreaded the money a bit in other secret bank accounts.

To be fair for everyone I'll try not to use any of the secret bank account money as I'm the only one that knows what they are. but I'll eventually forget as I'll rarely even look at the database. I'll only back it up once in a while and that's it.

If ever we loose that database it won't kill us or anything as it's seperate from the forum.

Archived topic from Iceteks, old topic ID:1194, old post ID:10761

IceTeks Cybervillage

Posted: Wed Aug 13, 2003 9:43 pm
by manadren_it
I got some books lying around from when I went to ECPI (technical college) I might be able to do a fiber optics or electronics quiz if need be. Maybe some win2k, hardware, or general networking stuff too. It might be fun to create a quiz nit-picking some of the features of pre-p2 class cpus :)

Archived topic from Iceteks, old topic ID:1194, old post ID:10772

IceTeks Cybervillage

Posted: Wed Aug 13, 2003 9:58 pm
by Red Squirrel
Cool sounds great. I'm making the script now. It's a little tricky to do but I'm getting there. :)

Archived topic from Iceteks, old topic ID:1194, old post ID:10773

IceTeks Cybervillage

Posted: Wed Aug 13, 2003 11:38 pm
by Red Squirrel
I just finished making the script and it seems to be working fine. It's just a little touchy in the sense that if you don't properly end your possible answers with a return, it will mess up but other than that it works perfectly fine, and is easy to use. So check it out in the cybervillage area. :banana:

Archived topic from Iceteks, old topic ID:1194, old post ID:10774

IceTeks Cybervillage

Posted: Thu Sep 04, 2003 6:12 pm
by Red Squirrel
Upcoming features that I should program shortly:


- IceTeks Stock Exchange - members can buy stocks at a price based on a specific member, and cash them in to get money based on the member again. I'll most likely make it go by post percentage per day, as it is something that can go up and down anytime.

I might put the option to pick a member, or I might make the script choose a random member, to make it more "challenging" there will most likely be no way of knowing how much the stocks are worth when cashing. When buying you will be able to know, but not when cashing. It will be something that will change so much that you can buy and cash right away and have a different ammount. It will be based on clicks and not actual time. Only way to execute a php script is by clicking, so I'm not going to do any fancy robot or anything that will change it. But this will make it more fun anyway. ;)

Another feature that is coming soon is the lottery, this will probably be very simple, you pay 100 itbucks or whatever, and it will randomly decide if you win or not, it will be a quick thing.

Another feature I might add will be very similar to the lottery, but instead of just making up a random ammount, it will pick a random member and steal N% of their money and put it into the stealer's pockets. Somehow I'll have to figure out a way to make this traceble or at least make it so it's a risky thing to do (like a 50/50 chance that the action is actually reversed, or something like that).



So this is 3 features that I hope to add very soon.

If anyone else has any other ideas of features, please let me know. :)

Archived topic from Iceteks, old topic ID:1194, old post ID:11217

IceTeks Cybervillage

Posted: Thu Sep 25, 2003 8:04 pm
by Red Squirrel
I just thought of something, instead of keeping on adding features to the cybervillage, I'll put that mod on hold for now, and I will try to take the time and learn SQL, once I get good, I'll remake it so it uses a SQL database so it will be easier to keep track of everything and in this case, even backup. Right now it's a very cluttered database, and with time it will get too slow.

So for now even posting does not give you itbucks, but later on I'll re-add all of that once I make a decent SQL structure for it. :awesome:

Archived topic from Iceteks, old topic ID:1194, old post ID:11896

IceTeks Cybervillage

Posted: Sat Oct 11, 2003 5:38 pm
by Red Squirrel
Just an update.

I've been playing with sql functions most of the day and I'm also slowly implimenting my code to use SQL and the hard part is deciding how to store the data, but I got that solved now as I made it use the custom fields that I can add so that way it will be easy to display beside posts how much money others have. I'm just thinking that the way it's structured might slow down the board, but I'll play around and see if it really does, and if yes, I'll code it a different way. The way it's coded now makes it more organized, but also requires to connect to the DB all the time for each post.

Archived topic from Iceteks, old topic ID:1194, old post ID:12356

IceTeks Cybervillage

Posted: Sat Oct 11, 2003 8:21 pm
by Red Squirrel
Wow lot of work to be done. :eek: Did not realize reverting to sql was this much work. I'll probably restart the whole bank thing from scratch. The coding right now is horrible. I thought of a way that I can make the database which should make things faster though.

Archived topic from Iceteks, old topic ID:1194, old post ID:12357

IceTeks Cybervillage

Posted: Wed Oct 15, 2003 12:13 am
by Red Squirrel
I redesigned the database for money, and it's all runing smoothly under SQL. :banana:

I also removed a few useless options. Instead of having a seperate "wallet", it is simply a master account called wallet. That way the transfer feature and stuff can be used with it like any other account. I also removed the receive feature as it's pointless, if you want to receive from another account, just go to that account and transfer the money. :P

Also if you put negative values it works. (steal from others with the donate feature by putting a negative number LOL)

Speaking of a donate feature, it's not around yet, but I'll code it soon. You'll have to enter the user ID and it will automaticly send the money.

Man I'd keep coding right now, I'm really enjoying myself now that I understand more SQL commands, but it's past 12:00 and I have school tomorow, I better get in my nest and put away my editor for now. :D

Archived topic from Iceteks, old topic ID:1194, old post ID:12455

IceTeks Cybervillage

Posted: Wed Oct 15, 2003 12:52 pm
by wldkos
I was wondering what happened to my money??? Is it going to come back... and when am I going to be able to use it?

Archived topic from Iceteks, old topic ID:1194, old post ID:12470

IceTeks Cybervillage

Posted: Wed Oct 15, 2003 1:13 pm
by Red Squirrel
Very soon... I'll reimburse everyone with like 1000 bucks to start us off. Well active members anyway.

I still need to code it so that when someone registers it puts the right entries in the database. We should be able to use it shortly. I already have the transfer function completed, it's just the thing of adding it to features (and making this features).

I'll probably work on this more tonight or later today.

Archived topic from Iceteks, old topic ID:1194, old post ID:12471

IceTeks Cybervillage

Posted: Wed Oct 15, 2003 3:37 pm
by Red Squirrel
Oh great. It looks like we might have to revert to a file database again, if that's the case I'm just scrapping this whole idea since I'm not kiling myself again changing everything.

The problem is that because this board uses SQL, it seems I can't just add in my own sql code as it conflicts with the existing. Sound stupid, but it seems to be the case. I posted at the IB forums so maybe they can help me, but I think we're screwed.

Archived topic from Iceteks, old topic ID:1194, old post ID:12485

IceTeks Cybervillage

Posted: Wed Oct 15, 2003 4:04 pm
by Red Squirrel
Looks like it does work. New members now get a root (wallet) account, but the problem is that I can't use my own functions (which makes things much easier to code) but I have to hard code it all. Oh well.

I'll proceed with making posts count towards money, and we'll have to decide on a currency name shortly. :)

Archived topic from Iceteks, old topic ID:1194, old post ID:12491

IceTeks Cybervillage

Posted: Wed Oct 15, 2003 4:34 pm
by Red Squirrel
Ok this will be delayed big time... The IBF code is interfeering a lot with code I add since it conflicts, and I can't do stuff like read the database and there's a few places where I have to.... just waiting for a response from a forum to see what I can do. :unsure:

Archived topic from Iceteks, old topic ID:1194, old post ID:12501

IceTeks Cybervillage

Posted: Wed Oct 15, 2003 5:29 pm
by Red Squirrel
wohoo. Very messy code compared to what I looked forward to with my own functions, but it now works.


Posting a new topic or poll: you get $5 , and replies and votes give you $1.

Archived topic from Iceteks, old topic ID:1194, old post ID:12511

IceTeks Cybervillage

Posted: Wed Oct 15, 2003 6:24 pm
by Red Squirrel
The quiz section is now in operation and works! So go and add a new quiz or play one!

I played the telecom one just to test things out and it seems to be working great. :banana:

Archived topic from Iceteks, old topic ID:1194, old post ID:12513

IceTeks Cybervillage

Posted: Sat Oct 18, 2003 2:19 pm
by Red Squirrel
I just added $$$ in the profile so we can now see how much cash everyone has. :D

I'm trying to impliment it directly in posts but it's not evendent since the way it's made, and mysql is a badly coded thing altogether and no way of making two instances of an open database interpendant. So when I go to add my own query, it interfeers with the rest of the thread. but I'm working on trying to get a way around it. :)

Archived topic from Iceteks, old topic ID:1194, old post ID:12563