PDA

View Full Version : [Share]Quiz


forsage
12.10.2007, 22:00
Hello

This is quiz. May be you find it fun , may be not, but players like this at my server.

So, all of options settings in AI.

At default here 10 questions. Each question take a 15 seconds.

If time out, answer will be incorrect.

By default , all prizes that give players is adena, of course you can modify code yourself and add there another prizes.

Parameters in AI:

Code:

int maxquestions 10
int timeanswer 15000
int cost 10000
int priz1 10000
int priz2 20000
int priz3 50000
int RandValue 1351
int StartFString 1300000

maxquestions - number of questions for one quiz

timeanswer - time for answer for one question

cost - cost of quiz ( adena )

priz1 - if player answer for maxquestion-2 he get priz1 ( adena )

priz2 - if player answer for maxquestion-1 he get priz2 ( adena )

priz3 - if player answer for all of questions he get priz3 ( adena )

RandValue - total number of questions

StartFString - number of fstring, where questions is started.

Each question has only ! 4 answers , not more or less .

Here is fstring structure :

Code:

1300000 [Question 1?]
1300001 [<a action="bypass -h menu_select?ask=1&reply=0">1. answer1</a>]
1300002 [<a action="bypass -h menu_select?ask=1&reply=0">2. answer2</a>]
1300003 [<a action="bypass -h menu_select?ask=1&reply=1">3. answer3</a>]
1300004 [<a action="bypass -h menu_select?ask=1&reply=0">4. answer4</a>]
1300005 [Question 2?]
1300006 [<a action="bypass -h menu_select?ask=1&reply=0">1. answer1</a>]
1300007 [<a action="bypass -h menu_select?ask=1&reply=0">2. answer2</a>]
1300008 [<a action="bypass -h menu_select?ask=1&reply=0">3. answer3</a>]
1300009 [<a action="bypass -h menu_select?ask=1&reply=1">4. answer4</a>]
1300010 [Question 3?]
1300011 [<a action="bypass -h menu_select?ask=1&reply=0">1. answer1</a>]
1300012 [<a action="bypass -h menu_select?ask=1&reply=1">2. answer2</a>]
1300013 [<a action="bypass -h menu_select?ask=1&reply=0">3. answer3</a>]
1300014 [<a action="bypass -h menu_select?ask=1&reply=0">4. answer4</a>]
.......
.......
.......

How you can see , reply=1 is true answer.

Some screenshots :

Изображение (http://217.77.111.162/quiz/1.JPG)

Изображение (http://217.77.111.162/quiz/2.JPG)

Изображение (http://217.77.111.162/quiz/3.JPG)

p.s. sorry for bad english please

p.s. special thanks to SuperKent

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Дата оценена по относительному времени в снимке (2 Days Ago); точное время не сохранилось. Открыть источник (https://web.archive.org/web/20071014230041id_/http://postpacific.com:80/forums/showthread.php?s=&p=101879).

emanuel
12.10.2007, 22:00
Nice, maybe i will put this on my server , like a event Smile

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Дата оценена по относительному времени в снимке (2 Days Ago); точное время не сохранилось. Открыть источник (https://web.archive.org/web/20071014230041id_/http://postpacific.com:80/forums/showthread.php?s=&p=101879).

smeli
12.10.2007, 22:00
forsage, if you change DC cost I will press the button

cause is good chare, but do not woth 5 DC


as you see, event with DC cost of 1 I will not download cause I have 0

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Дата оценена по относительному времени в снимке (2 Days Ago); точное время не сохранилось. Открыть источник (https://web.archive.org/web/20071014230041id_/http://postpacific.com:80/forums/showthread.php?s=&p=101879).

Osito2Dancer
12.10.2007, 22:00
I think that coding this AI and such could be 5DC worthy.

Good job.

Oso

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Дата оценена по относительному времени в снимке (2 Days Ago); точное время не сохранилось. Открыть источник (https://web.archive.org/web/20071014230041id_/http://postpacific.com:80/forums/showthread.php?s=&p=101879).

DeKoth
13.10.2007, 22:00
I second that

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Дата оценена по относительному времени в снимке (1 Day Ago); точное время не сохранилось. Открыть источник (https://web.archive.org/web/20071014230041id_/http://postpacific.com:80/forums/showthread.php?s=&p=101879).

forsage
14.10.2007, 14:00
Quote:


Originally Posted by Osito2Dancer
View Post (https://postpacific.mmorpg-game.online/showpost.php?p=1003610)

I think that coding this AI and such could be 5DC worthy.


Good job.


Oso

Thank you.

I'm glad that people liked my work.

I'm like AI coding, but here still a lot of things , that I don't understand.

But I'm study...

Maybe after some time I will be able to show something useful.

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Дата оценена по относительному времени в снимке (8 Hours Ago); точное время не сохранилось. Открыть источник (https://web.archive.org/web/20071014230041id_/http://postpacific.com:80/forums/showthread.php?s=&p=101879).

roxaz
14.10.2007, 16:00
the idea is brilliant Smile

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Дата оценена по относительному времени в снимке (6 Hours Ago); точное время не сохранилось. Открыть источник (https://web.archive.org/web/20071014230041id_/http://postpacific.com:80/forums/showthread.php?s=&p=101879).