Author |
Message |
The Arctica Newbie
Gender: Joined: Dec 04 2004 Posts: 13 Offline
|
Posted: Wed Feb 23, 2005 7:38 am Post subject: Linkedlist |
 |
|
|
|
Hey, does any have a website or something which explains how i can set up a _linkedlist, because someone explained me but it didnt work, and now i dont remember anymore , so plz if anyone has a website which explains how to set it up. Then post a reply.
-Arctica
|
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
|
Back to top |
|
 |
The Arctica Newbie
Gender: Joined: Dec 04 2004 Posts: 13 Offline
|
Posted: Wed Feb 23, 2005 10:58 am Post subject: |
 |
|
|
|
i forgot to say that im trying to add a voting linkedlist ;/
|
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Wed Feb 23, 2005 11:17 am Post subject: |
 |
|
|
|
Why not attach the votes directly to the players?
|
|
Back to top |
|
 |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
|
Back to top |
|
 |
The Arctica Newbie
Gender: Joined: Dec 04 2004 Posts: 13 Offline
|
Posted: Wed Feb 23, 2005 6:38 pm Post subject: |
 |
|
|
|
d1st0rt, i love you
|
|
Back to top |
|
 |
50% Packetloss Server Help Squatter

Age:40 Gender: Joined: Sep 09 2003 Posts: 561 Location: Santa Clarita, California Offline
|
Posted: Wed Feb 23, 2005 10:14 pm Post subject: |
 |
|
|
|
I think you need C++ classes. If you don't understand what Ekted wrote then you definatly need to learn what a linklist is FIRST before you jump into using catid's linklist class. Then learn a little bit about template classes so that you can read the code for yourself (datatypes.h in merv's source code).
|
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Thu Feb 24, 2005 9:56 am Post subject: |
 |
|
|
|
not sure if this will help any but.... here's a mini diagram of how a linked-list works. Each node has an object stored in it, as well as a pointer to the next node. Notice at the end, the final "next" pointer is null.
booya file id 1024  _________________ Performance is often the art of cheating carefully. - James Gosling
linked list diagram
linked-list.png - 4.28 KB
File downloaded or viewed 123 time(s)
|
|
Back to top |
|
 |
The Arctica Newbie
Gender: Joined: Dec 04 2004 Posts: 13 Offline
|
Posted: Thu Feb 24, 2005 2:20 pm Post subject: |
 |
|
|
|
well i got this all done and figured out what i had to know , but now when i started my bot and the bot is already running voting system then in terminal it says 'ERROR: Exception in plugin Master at slot 0 during event 2', and wont go on with anything, now what's my problem and where do i need to search? Many thanks
-Arctica
|
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Thu Feb 24, 2005 2:42 pm Post subject: |
 |
|
|
|
Sigh. You have a bug. You need to be able to debug. No one can help you with "It doesn't work. What do I do?"
|
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Thu Feb 24, 2005 2:42 pm Post subject: |
 |
|
|
|
You'll need to locate the corresponding EVENT that = 2. Remember, it starts zero based, so count down from the top (i think it starts w/ EVENT_Tick) or w/e... Prob arena enter :/ ?
|
|
Back to top |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Fri Feb 25, 2005 10:08 am Post subject: |
 |
|
|
|
Can you stop linking to the php in your img tags? It's spoiling my view of the statistics page. Unless mgb can add some code to that page so it ignores images when calculating the most downloaded file.
|
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Fri Feb 25, 2005 10:11 am Post subject: |
 |
|
|
|
Sorry, but how do I know where these paths exist to when I upload... o.o
|
|
Back to top |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Fri Feb 25, 2005 10:15 am Post subject: |
 |
|
|
|
When you preview the post (you should) it will show links to the attached files, right click on them and copy the url.
|
|
Back to top |
|
 |
Mine GO BOOM Hunch Hunch What What

Age:41 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
Posted: Fri Feb 25, 2005 11:59 am Post subject: |
 |
|
|
|
Smong wrote: | Can you stop linking to the php in your img tags? It's spoiling my view of the statistics page. Unless mgb can add some code to that page so it ignores images when calculating the most downloaded file. |
Done. Simple WHERE `mimetype` NOT REGEXP 'image/' added to SQL command.
|
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Fri Feb 25, 2005 2:14 pm Post subject: |
 |
|
|
|
Excellente!
|
|
Back to top |
|
 |
|