YOUREWINNER.COM
 
   

All I want for christmas is better spears
 
#1 22-12-2012, 20:28:28 PM
  • Guest
I AM WORKING ON IT
http://steevswinner.no-ip.org/forum/index.php?topic=6.msg28#new

Notice how the spear positions are SAVED now

Refresh the page 100 times they are always in the same spot!



#2 22-12-2012, 20:43:52 PM
  • Guest
cirus i need a mysql table EXACTLY like this



#3 22-12-2012, 21:06:58 PM
  • Big Rigs physics define the purpose of our existence.
  • Posts: 59
  • Rigcoins: 202.60
  • Send Money to Naterdoo
    Trophy
  • +
  • "I was LOSER once, but I became WINNER"
This is awesome! I wanted to spear someone directly in the face! Now I can!  :youreman:


Dissident
#4 23-12-2012, 07:02:28 AM
  • the ultimate, the muffin man
  • Administrator
  • *****
    *****
    *****
    *****
    *****
    *****
  • Posts: 17638
  • Rigcoins: 99833079.59
  • Send Money to Dissident
    Thumb Up
  • weeaboosexual orientation uncleardissident b shirt+
  • "smash the patriarchy"
the nice thing about spears is that if one of them is blocking something I can refresh to see it




Dissident International Anti-Furry Organization
Cirus
#5 23-12-2012, 15:14:29 PM
Yeah I like random locations more


cirus_
#6 23-12-2012, 20:25:29 PM
  • WINNERS
  • *****
    **
  • Posts: 1043
  • Rigcoins: 0.00
  • Send Money to AI-Sim
    Trophy
  • Bones Fuse TogetherDirty DoggMoonbeam Sunshine+
  • "Send me money. I'm poor."
For a second I read better as "bigger."


aisim
Rigism88
#7 23-12-2012, 20:54:39 PM
make it less expensive for us poor rigists


Pwning LOSERS since 2003.
Cirus
#8 23-12-2012, 20:56:37 PM
post more


cirus_
JAVIKS
#9 23-12-2012, 21:12:34 PM
  • Global Moderator
  • *****
    *****
    *****
    *****
    *****
    *
  • Posts: 7035
  • Rigcoins: 366522.57
  • Send Money to JAVIKS
    Thumb Up
  • Coors Light FanTAG TEAM CHAMPDad+
  • "cats are like potato chips"
if we made everything "cheap" for the "poor" rigists, they would have no "incentive" to work "hard" and earn things like a "real" man


JAVIKS
Cirus
#10 23-12-2012, 21:14:53 PM
javiks is "right"


cirus_
X23
#11 23-12-2012, 23:41:53 PM
im "gay"


x33
#12 24-12-2012, 01:01:53 AM
  • Guest
Alright can I at least get a table for stuff to put on avatars? Only reason I haven't released hats is I have nowhere to store it.

I also want to give users the ability to change the position of their blunts

Something like this would allow us to add unlimited avatar accessories without having to change forum code every time.


JAVIKS
#13 24-12-2012, 01:12:16 AM
  • Global Moderator
  • *****
    *****
    *****
    *****
    *****
    *
  • Posts: 7035
  • Rigcoins: 366522.57
  • Send Money to JAVIKS
    Thumb Up
  • Coors Light FanTAG TEAM CHAMPDad+
  • "cats are like potato chips"
i want a fedora and a goatee for my avatar


JAVIKS
#14 24-12-2012, 09:36:35 AM
  • Guest
Alright can I at least get a table for stuff to put on avatars? Only reason I haven't released hats is I have nowhere to store it.

I also want to give users the ability to change the position of their blunts

Something like this would allow us to add unlimited avatar accessories without having to change forum code every time.

lad learn how to write smf mods so you can install them on the package thing and put in code to make it create the database stuff for you, then you can release your glorious creations to the MASSES

Yeah I guess I should learn how to create SMF packages.

I must be careful though just one DROP TABLE smf_members and we're all dead


#15 24-12-2012, 11:12:02 AM
  • Guest
k I can do somuchdamage now

Code: [Select]
<?php
require_once(dirname(__FILE__) . '/SSI.php');
require_once(
dirname(__FILE__) . '/Settings.php');
if (
$context['user']['is_admin']) {
$con mysql_connect($db_server$db_user$db_passwd);
if (!$con)
die('Could not connect: ' mysql_error());
mysql_select_db($db_name$con);
$result mysql_query("CREATE TABLE IF NOT EXISTS smf_avatar_stuff (
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
`id_user` INT UNSIGNED DEFAULT '0' NOT NULL,
`id_img` INT UNSIGNED DEFAULT '0' NOT NULL,
`margin_top` INT DEFAULT '0' NOT NULL,
`margin_left` INT DEFAULT '0' NOT NULL,
PRIMARY KEY (`id`)
)"
);
if (!$result)
die('It failed: ' mysql_error());
echo 'Created table smf_avatar_stuff';
mysql_close($con);
unlink(__FILE__);
}
?>


I just upload to the same folder as SSI.php and Settings.php and run once


0 Members and 1 Guest are viewing this topic.