YOUREWINNER.COM
 
   

SPEARS ARE HERE!!!
 
#76 07-11-2012, 16:25:55 PM
I'm so glad we finally can have a ridiculous amount of useless features on our forum

 :barneyclap: :thumbsup:




beerwithstraw
Skrag
#77 07-11-2012, 17:09:50 PM
  • Welcome to the layer cake son.
  • Global Moderator
  • *****
    *****
    **
  • Posts: 6796
  • Rigcoins: 99999999.99
  • Send Money to Skrag
    Trophy
  • sergey avatarBIG PICTURESnot skraggarak+
  • "mmmmmmmmm lemon"
I would definitely buy a hat and gold chain

This forum is becoming more WINNER by the minute!


steev
#78 07-11-2012, 17:18:31 PM
  • Linux Gamer
  • Administrator
  • *****
    *****
    *****
    *****
    ***
  • Posts: 13651
  • Rigcoins: 788882.20
  • Send Money to steev
    Thumb Up
  • adminnovatorWINNERDangerously steevy+
  • "Be so good they can't ignore you! ❤️"
refund my 5k rigcoins please

ok i figured out how to give you rigcoins


steevp
Svetlana
#79 07-11-2012, 18:25:10 PM
yeah but that'd take more sql work

my way is simpler

how do i save the each spear's id without sql tho?

well how are you storing them now? surely there's a way you're storing the spear type since it's not all one type of spear
my idea would be that instead of just the type you store something that can be converted back into 3 numbers: x, y and type

that gets parsed by php when loading the spears


lana_chan my name is erin
ywoc
#80 07-11-2012, 18:55:54 PM
Who wants to be penetrated by my long, hard spear?


steev
#81 07-11-2012, 19:11:12 PM
- Last Edit: 07-11-2012, 19:16:38 PM
  • Linux Gamer
  • Administrator
  • *****
    *****
    *****
    *****
    ***
  • Posts: 13651
  • Rigcoins: 788882.20
  • Send Money to steev
    Thumb Up
  • adminnovatorWINNERDangerously steevy+
  • "Be so good they can't ignore you! ❤️"
yeah but that'd take more sql work

my way is simpler

how do i save the each spear's id without sql tho?

well how are you storing them now? surely there's a way you're storing the spear type since it's not all one type of spear
my idea would be that instead of just the type you store something that can be converted back into 3 numbers: x, y and type

that gets parsed by php when loading the spears

The way I have it now there are 3 fields in the database that store how many of each type of spear there are, then I have a for loop that displays them all.

If I convert those 3 fields to arrays I can just do this to display them:
$z_index = 1;
foreach ($message['member]['trophy'], $message['member']['usuk'], $message['member']['luvu'] as $spear) {
    $margin_left = $spear['left'];
    $margin_top = $spear['top'];
    $f = $spear['filename'];
    echo '<img src="', $f, '" style="position: absolute; z-index: ', $z_index, '; height: 150px; width: 125px; margin-left: ', $margin_left, '; margin-top: ', $margin_top, '>';
    $z_index++;
}

which is slightly simpler than extracting the values from an ID string

I'm kinda liking the always random placement now tho.
Like EJ and JC said it's a new adventure every time!

Will make a poll


steevp
steev
#82 07-11-2012, 19:11:28 PM
  • Linux Gamer
  • Administrator
  • *****
    *****
    *****
    *****
    ***
  • Posts: 13651
  • Rigcoins: 788882.20
  • Send Money to steev
    Thumb Up
  • adminnovatorWINNERDangerously steevy+
  • "Be so good they can't ignore you! ❤️"
Who wants to be penetrated by my long, hard spear?

me!


steevp
Svetlana
#83 07-11-2012, 21:32:02 PM
yeah if you can get it to be arrays that would make things simpler, either way i think you should change it to be at least one array, and then store the types of spears in that so adding new types of spears doesn't require you to make a whole new variable every time


lana_chan my name is erin
steev
#84 08-11-2012, 06:33:17 AM
  • Linux Gamer
  • Administrator
  • *****
    *****
    *****
    *****
    ***
  • Posts: 13651
  • Rigcoins: 788882.20
  • Send Money to steev
    Thumb Up
  • adminnovatorWINNERDangerously steevy+
  • "Be so good they can't ignore you! ❤️"
yeah if you can get it to be arrays that would make things simpler, either way i think you should change it to be at least one array, and then store the types of spears in that so adding new types of spears doesn't require you to make a whole new variable every time

yeah good idea i have done that


steevp
#85 08-11-2012, 13:16:43 PM
Someone has removed the spear from my hand! Now I can post with the FULL FORCE OF MY FURY

also, FISTING


TheGrandMystic
Svetlana
#86 08-11-2012, 13:33:50 PM
I can't send someone a spear it keeps giving me an "user does not exist" error


lana_chan my name is erin
#87 08-11-2012, 14:09:16 PM
Stop trying to spear ghosts.



scuzzyneighbour
KoЯndog
#88 08-11-2012, 14:10:46 PM
  • hi
  • Administrator
  • *****
    *****
    **
  • Posts: 5001
  • Rigcoins: 4720.12
  • Send Money to KoЯndog
    Thumb Up
  • awp masterdirty sockMILF+
  • "Improved signal transfer and corrosion resistance"
are you typing in their login name


hi
Svetlana
#89 08-11-2012, 14:31:12 PM
what is steev's login name

i tried steev and steevnazi


lana_chan my name is erin
Dissident
#90 08-11-2012, 14:36:45 PM
  • the ultimate, the muffin man
  • *****
    *****
    *****
    *****
    *****
    *****
  • Posts: 17316
  • Rigcoins: 99968411.59
  • Send Money to Dissident
    Thumb Up
  • weeaboosexual orientation uncleardissident b shirt+
  • "smash the patriarchy"
it's Steve

hover the mouse over someone's username to see the original




Dissident International Anti-Furry Organization
0 Members and 1 Guest are viewing this topic.