Vier Gewinnt
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Vier Gewinnt

Started by c h i l l a, 30 January, 2004, 22:36:03

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

c h i l l a

yepp its done first version,

but had to compile it, its just too great...

Phatty if you want to take a look just let me know ;).



VG 0.02

pHaTTy

QuoteOriginally posted by c h i l l a
yepp its done first version,

but had to compile it, its just too great...

Phatty if you want to take a look just let me know ;).



VG 0.02

ok thx, i got few questions first, what does name mean, what is it, and what it do? :p

lolol :) just having probs with me hub so cant test it yet ;)
Resistance is futile!

HaL

hi chilla

very nice script ,i like it ;-)

pHaTTy

Resistance is futile!

c h i l l a

#4
Nd thanks Phatty for telling me that its Connect4 in english.

Hal, I still couldn't do your request but I solved some errors, and some other stuff...  and added cool scores
And you need the Folder in the rar also in your scripts folder

just type  help in a PM to the bot

VG-0.3

HaL

tach Chilla ;)

whats about a chess -bot? lol

the 4 connect script is very good !

gru? HaL

c h i l l a

game has been updated


   *** CONNECT 4 - 4 GEWINNT ***
   by chill

type help in Main or help to the bot in a PM.

   *** CHANGELOG ***

 - 3.2.04 - V.042
1. Added command, newgame, when game has ended and you want to play another one.

 - 2.2.04 - V.041
1. Added Chat to each other. when playing. (Timeout of 5 min, after Game has ended.)
2. Added Gametimeout between 50 and 60 minutes.
3. Added DisconnectCheck for Players.

MrBuitenhuizenJunior

Hello,

I've tested the latest version. It is fun playing the game. Very nice script  :D


[NL]MrBuitenhuizen

c h i l l a

thx :),

I will try to create something like connect6 or so, but adjustable...  if i get it.

??????Hawk??????

kewl script m8


anychance of a couple of changes

the invite dosnt say   connect4 ( or maby does in a different language )

<-Connect4-> ???.Hawk.??? invites you to a session of Vier Gewinnt, Type: Accept or Deny.


also can you shorten main chat commands to   something like  

     Main Chat
   -----------------------------------
   invite con4    - Invite a user
   topscore con4    - Shows the top scorers
   myscore con4    - Shows your score
   help con4    - Shows you this help


and add a description to the user list " type 'help con4' for commands"

c h i l l a

sure hawk,
just actually you can set the botname yourself, and then all you have to do it like

type  invite

??????Hawk??????

Hi   chilla   thx for your reply  i should have checked first but after reading your first post

Quoteyepp its done first version,
but had to compile it, its just too great...


i never tried to load it in to an editor

lol


Thx for a great script m8

also thx for TicTacToe   :]

c h i l l a

#12
thx hawk... :)
yepp stoped to compile it, don't think anyone can just copy paste funcs anyways :).

Well and here is connect X
With an adjustable matrix :),
what ever you like 100x200 ;), and adjustable connects,
like 7 or so,
 but only viewed with
Text styles as


--Best Viewed with Font (recommended):
--   Courier
--   Courier New
--   Fixedsys
--   Lucida Console
--   MS Mincho
--   OCR A Extended
--   SimSun
--   TeleText   
--   TeleTextDH
--   Terminal
--   WST

also in the LUA file




Connect X V.01

??????Hawk??????

#13
hi Chilla

i seem to have some errors when running on a live hub.

everything seem'd to work ok running a hub over lan  but get this when i added it to my hub:-

Syntax error: attempt to index a nil value
stack traceback:
   1:  function `ResetChat' at line 162 [file `...wks-world ptokax\scripts\Connect.Four-V.042.lua']
   2:  function `Play4G' at line 340 [file `...wks-world ptokax\scripts\Connect.Four-V.042.lua']
   3:  function `DataArrival' at line 131 [file `...wks-world ptokax\scripts\Connect.Four-V.042.lua']


i set the bots name to   connect4

and the nicks trying to use it were:-

???.Hawk.???  and  PO-Puggles


any clues m8  ???


[Edit]

btw i am refering to the earlier connect4 script

c h i l l a

you only wanted to play right?
was it right after the invitation ?
I will check it out, could be the nick, but I'll check.

And doesn't matter, there are no updates on the chat.

??????Hawk??????

Hi Chill


Quoteyou only wanted to play right?
was it right after the invitation ?

sorry  i dont  know  the hub runs on a server so didnt know when the errors occured.

we manage  3 moves  and then it stopped responding

so i quit  the game and invited him again  and  managed 2 moves before it stopped.

could it be   he was too long in responding abt  20-30 secs( whats the timeout before it quits itself ?)

thx m8

c h i l l a

#16
I couldn't recall the error, sorry,
well you nick is fine, and the other one should be too.

just keep on trying..


but its anyways still in testing mode,

and here is  another one where the players decide over the size of their matrix and number of connects :)
But I bet still some bugs in it.

   *** CHANGELOG ***

 - 6.2.04 - V.03
1. Added possibility to create your own matrix for each game. check help

 - 5.2.04 - V.02
1. Tweaking of the Check for Win Function, as tweaking of build Matrix.

Connect X V.03

c h i l l a

fixed one error,
but else it runs okey.

connect x v.031

   *** CHANGELOG ***

 - 7.2.04 - V.031
1. Some changes, faster Play4G() handling.
2. Fixed, Scores were nil when ending even. thx, wenjon.

B@B?

#18
Hi Chill ;-)

I use the Script from your HP - Vers. 042

I got this Error, everytime, i do something...?

Maybe YOU can fix it...

Syntax Error: bad argument #1 to `strlen' (string expected, got nil)

and sometimes:

Syntax Error: malformed pattern (missing `]')

In PtoKax 3.2.4 TD 4 Hub-Soft i do not have any Error while checking, ONLY! if i start the game...

Than it seems to work great but one Error (see above) after another is shown me by Hub-Soft...I can game but the script doesn?t save the Scores correctly...

Thx
THE DAY AFTER...  

...is >>>>>>>> NOW!




Btw:
Plz excuse my english...
It?s not the best, i?m sure...but it?s funny...isn?t it?

c h i l l a

I will look into it, but you can also download connect x,

its a litle more advanced, and you need to set different font, such as courier new.

B@B?

#20
Repair the 0.42...;-)

That would be  nice! Thank YOU!

Our Font is allways Comic Sans...

Maybe you can bind it?
THE DAY AFTER...  

...is >>>>>>>> NOW!




Btw:
Plz excuse my english...
It?s not the best, i?m sure...but it?s funny...isn?t it?

B@B?

#21
So what?  

I?m waiting...*g*
THE DAY AFTER...  

...is >>>>>>>> NOW!




Btw:
Plz excuse my english...
It?s not the best, i?m sure...but it?s funny...isn?t it?

c h i l l a

can you help, me?

what do you do, when you get the errors, cause I don't get any.

B@B?

Like this:

QuoteOriginally posted by B@B?
Hi Chill ;-)

I use the Script from your HP - Vers. 042

I got this Error, everytime, i do something...?

Maybe YOU can fix it...

Syntax Error: bad argument #1 to `strlen' (string expected, got nil)[/u]

and sometimes:

Syntax Error: malformed pattern (missing `]')[/u]

In PtoKax 3.2.4 TD 4 Hub-Soft i do not have any Error while checking, ONLY! if i start the game...

Than it seems to work great but one Error (see above) after another is shown me in Hub-Soft...I can game! but the script doesn?t save the Scores correctly...

Thx

So i do nothing but Start...

Like >>> invite Peter (example)

With the first Order cames the first Error...

Later, after an while cames the second.

Saving is only given by restart the Script...

THX! 4 now...;-)
THE DAY AFTER...  

...is >>>>>>>> NOW!




Btw:
Plz excuse my english...
It?s not the best, i?m sure...but it?s funny...isn?t it?

c h i l l a

try this one, it is the same version but maybe it will help.
Cause I get no errors with this version.

c4

SMF spam blocked by CleanTalk