[FilterScript] Snake Multiplayer v1.0
#1






_________________________________________________








_________________________________________________
Info

Playmodes:
This is a four-player game. You play four human-players against each other, or if there are less than four players in game, the artificial intelligence (or you can define it "bunch of else ifs") will join them in game.

In other words:
Код:
» Player vs Player vs Player vs Player or » Computer vs Player vs Player vs Player or » Computer vs Player vs Player or » Computer vs Player
Computer is always purple. I chose it because I love purple computers.
Goal:
Your task is to obtain the highest score by collecting items, defeating opponent snakes, and staying alive as long as possible.
The fastest snake wins!
Controls:
The arrow keys control the movement of the snake.
Scoring:
Everyone starts as three unit snakes, each item you collect gives you one point.

Later release will include:
Each snake that you kill (defined as getting another snake to run into your body) gains you 2 points.
Conversely, each time you die costs you 2 points!
Commands:
/snake « snake speed » « game score »
Bugs:
I've fixed all (few) bugs that were found by our beta-testers and myself. Although there can still be some minor bugs in the code.
Download
Version 1.0

http://solidfiles.com/d/a6d9/
http://www.mediafire.com/?c4v63bmq2iou79

Version 1.1

http://solidfiles.com/d/d1cn/

You will also need zcmd, foreach and sscanf. They all can be downloaded quickly from Beta-thread.
How to play: tutorial for newbies
Step 1 If you're not a newbie, skip to step 6.

Step 2 You need to have all includes ( .inc ) in /pawno/include directory.

Step 3 Sccanf plugin ( filename with .dll extension ) needs to be placed in the /plugins directory.

Step 4 The .pwn file should be located in the /filterscripts directory. Once all this is done, compile the .pwn file.

Step 5 You should have the following lines in your server.cfg file

Код:
filterscripts snake
plugins sscanf
Step 6 That is all! Now go do another pointless thing on your computer.
Reply
#2

OMG

I liked it

it's very fun!
Reply
#3

Nice
Reply
#4

Nice work
Reply
#5

Wow very nice.
Reply
#6

When you play with one person: only your snake, and a purple snake show.

And 2 of the NPC players start with a score of 3/5
Reply
#7

Funny
Reply
#8

Wow this is really good welldone bro keep it up
Reply
#9

Soooo coool man :O
You are a genious
Reply
#10

Nice, but somehow it doesn't start , i see nothing
Reply
#11

nice relase...good work
Reply
#12

Wow, nice FS

10/10
Reply
#13

Quote:
Originally Posted by Memoryz
Посмотреть сообщение
When you play with one person: only your snake, and a purple snake show.

And 2 of the NPC players start with a score of 3/5
There's only one non playable snake, the purple one. The rest are human players.

I have defined SNAKE_LENGTH 3 as default snake length in the beginning. So each snake starts with 3 score. You can change it to 1 if you want to...

Quote:
Originally Posted by misterlc
Посмотреть сообщение
Nice, but somehow it doesn't start , i see nothing
It's probably some foreach related bugs... if you're using foreach in your gamemode as well.
Try this version ( without the foreach loops [ haven't tested < made it an hour ago or so > ] ):
Reply
#14

Funny)
Reply
#15

i dont liked that so much, its boring a bit i give it 5/10
Reply
#16

No, it's still not working.
I've tried to run it with a new installed samp server, i tested with both: windows and linux without any filterscripts.
No luck.
Reply
#17

No enter link :S
http://solidcdn.net/files/a6d97/snake.pwn
Oops! ****** Chrome could not find solidcdn.net
Reply
#18

Quote:
Originally Posted by yos136
Посмотреть сообщение
i dont liked that so much, its boring a bit i give it 5/10
Yes it gets boring after few times... but atleast I got some reputation

Quote:
Originally Posted by misterlc
Посмотреть сообщение
No, it's still not working.
I've tried to run it with a new installed samp server, i tested with both: windows and linux without any filterscripts.
No luck.
Then I don't know what the problem is, does command /snake at least work? Do you even get any messages? Did you try the version above (without foreach)? We have tried to run this on two different gamemodes. On one it worked fine, on another it didn't. After a while of frustrations, we decided to remove foreach from that gamemode and voнla! It worked!

Oh have you made sure that you have everything installed correctly and most recent updates of includes and plugins?

Quote:
Originally Posted by Pedro_Doc
Посмотреть сообщение
No enter link :S
http://solidcdn.net/files/a6d97/snake.pwn
Oops! ****** Chrome could not find solidcdn.net
Link fixed.
Reply
#19

but i just want to say that its so amazing script..
i just can say that we all can create everything we want in samp..
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)