Help

Ask for help or introduce yourself to the community here. This is also an academy for new players/members.
Post Reply
hsvl
Newbie
Posts: 4
Joined: Fri Aug 03, 2007 4:34 am

Post by hsvl »

Hi

Im interesting in this game . Im using IPB forum ( invision power board ) . I would like to have my forum' members plays as players of the game . Can Anyone guide me how to do that??
User avatar
The Beatles
Fear me for I am root
Posts: 6285
Joined: Tue May 24, 2005 8:12 pm

Post by The Beatles »

You'd need to have a script that copied the entries from the forum table into the game table. It's not entirely trivial, and you'd have to keep updating it when people signed up, plus consider issues like in-game death, etc.
:wq
hsvl
Newbie
Posts: 4
Joined: Fri Aug 03, 2007 4:34 am

Post by hsvl »

i was trying to update , but it did not work

in the signup.php , i added like this

code: Select all

	mysql_safe_query("INSERT INTO $prefix"."_users (user_id, username, user_regdate, user_password, user_email, user_interest, user_viewemail, user_sorttopics) VALUES ($users[num], '$users[igname]', '0000-00-00 00:00:00', '$users[password]', '$users[email]', 'none', '0', '0');");
// insert into table members 

    mysql_safe_query("INSERT INTO forum_members(id, name,mgroup,joined,ip_address,member_login_key,email, members_display_name) VALUES ( $users[num],'$users[igname]',3,$joined,$users[IP], '$users[password]', '$users[email]', '$users[username]');");
forum= i_b_f ( default prefix)
can you tell me why it doesnot work in this way ??
User avatar
The Beatles
Fear me for I am root
Posts: 6285
Joined: Tue May 24, 2005 8:12 pm

Post by The Beatles »

What's the error message?
:wq
hsvl
Newbie
Posts: 4
Joined: Fri Aug 03, 2007 4:34 am

Post by hsvl »

there is no error message , but it does not run this query . I dont know why because the structure I think correct ( im using IPB 2.1.7 )
User avatar
The Beatles
Fear me for I am root
Posts: 6285
Joined: Tue May 24, 2005 8:12 pm

Post by The Beatles »

It wouldn't, so use a statement like echo @mysql_error(); or die(@mysql_error());
:wq
User avatar
Slasher
The FAF Forums SMEGHEAD!!! lol
Posts: 2635
Joined: Mon May 03, 2004 5:08 pm
Location: http://florida4us.com/
Contact:

Post by Slasher »

Hmm, this would make a pretty nice feature, a bit like Vallhall have.
I do not have a signature, you must be imagining

http://florida4us.com/

Image
hsvl
Newbie
Posts: 4
Joined: Fri Aug 03, 2007 4:34 am

Post by hsvl »

How can We can have eras ( instead of location ) : Past , Present and Future . ( level 1,2,3 ) . The Troops more power in the future !!

Camp : when we depolish all camps , all troops should die ,..... samething to farms, labs,........

Just suggest !
User avatar
The Beatles
Fear me for I am root
Posts: 6285
Joined: Tue May 24, 2005 8:12 pm

Post by The Beatles »

1. Just rename stuff in config.php.

2. Look at $config['er']

3. That's a bit different.
:wq
Post Reply
  • Members connected in real time

    🔒 Close the panel of connected members