Author Topic: BYO games plugin :)  (Read 65365 times)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: BYO games plugin :)
« Reply #45 on: June 20, 2006, 08:44:28 pm »
Here is what I did. [...]
I can confirm this. It happened to me, too. But I believe byo knows best where to look for it... ;-)

[access violation] I was using this nightly.
What shall we do with this report? Come on, you could have at least provided the crash report... :(

With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

sethjackson

  • Guest
Re: BYO games plugin :)
« Reply #46 on: June 20, 2006, 08:47:16 pm »
[access violation] I was using this nightly.
What shall we do with this report? Come on, you could have at least provided the crash report... :(

With regards, Morten.
Umm well that is the thing. No *.rpt was generated......  :?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: BYO games plugin :)
« Reply #47 on: June 20, 2006, 09:14:19 pm »
Umm well that is the thing. No *.rpt was generated......  :?
Ok... that explains pretty well why you did not... :lol: :lol: :lol:
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

sethjackson

  • Guest
Re: BYO games plugin :)
« Reply #48 on: June 20, 2006, 09:37:58 pm »
Umm well that is the thing. No *.rpt was generated......  :?
Ok... that explains pretty well why you did not... :lol: :lol: :lol:

 :lol:

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: BYO games plugin :)
« Reply #49 on: June 21, 2006, 12:14:55 am »
Umm there is a not so nice problem with this plugin.......

Here is what I did.

1. Plugins -> BYO Games -> C::B-Tris -> Play.
2. Right click on the C::B Tris tab -> Close.
3. I started coding.
4. After 10min I get this message box telling me to get back to work. :P I hit Ok. (I'm not even running the game). I get this message box over, and over (yea I could check don't annoy me but I don't). Close C::B.
5. Re-start C::B.
6. Access violation......

Anyways the message box is the bug. I wasn't even playing the game, and it told me to get back to work.  :lol:

I guess the access violation could be a bug too.

I was using this nightly.

http://forums.codeblocks.org/index.php?topic=3378.0

With wx 2.6.3.

Yop, that was one small thing I've forgotten to add into destructor  :oops:. The only thing I don't really understand is access violation after restarting C::B. All games state is currently reset when restarting (nothing read from configuration). So it should work fine. Maybe it's caused by multiple instances of AnnoyingDialog  :?

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: BYO games plugin :)
« Reply #50 on: June 21, 2006, 12:20:50 am »
Hello,

I have tried the game on my fresh compiled C::B (.deb package rev2586, Ubuntu Dapper) and now the arrow keys seem to work :). Anyway, the game is very slow and the mouse cursor is blinking all the time when it is inside the game's window :?.

Best wishes,
Michael

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: BYO games plugin :)
« Reply #51 on: June 21, 2006, 12:40:23 am »
Hello,

I have tried the game on my fresh compiled C::B (.deb package rev2586, Ubuntu Dapper) and now the arrow keys seem to work :). Anyway, the game is very slow and the mouse cursor is blinking all the time when it is inside the game's window :?.

Best wishes,
Michael


Thx for info.
Whats your CPU ? And what do you mean by saying "slowly" ? Does it work slowly or respond for keyboard with delay ? I've tested on gentoo and it worked almost fine for me.

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: BYO games plugin :)
« Reply #52 on: June 21, 2006, 12:42:18 am »
Thx for info.
Whats your CPU ? And what do you mean by saying "slowly" ? Does it work slowly or respond for keyboard with delay ? I've tested on gentoo and it worked almost fine for me.

Hello,

I have a PIII 500MHz and around 500MB RAM.

The games works slowly and responds slowly (with delay).

Best wishes,
Michael

sethjackson

  • Guest
Re: BYO games plugin :)
« Reply #53 on: June 21, 2006, 01:18:42 am »
Umm there is a not so nice problem with this plugin.......

Here is what I did.

1. Plugins -> BYO Games -> C::B-Tris -> Play.
2. Right click on the C::B Tris tab -> Close.
3. I started coding.
4. After 10min I get this message box telling me to get back to work. :P I hit Ok. (I'm not even running the game). I get this message box over, and over (yea I could check don't annoy me but I don't). Close C::B.
5. Re-start C::B.
6. Access violation......

Anyways the message box is the bug. I wasn't even playing the game, and it told me to get back to work.  :lol:

I guess the access violation could be a bug too.

I was using this nightly.

http://forums.codeblocks.org/index.php?topic=3378.0

With wx 2.6.3.

Yop, that was one small thing I've forgotten to add into destructor  :oops:. The only thing I don't really understand is access violation after restarting C::B. All games state is currently reset when restarting (nothing read from configuration). So it should work fine. Maybe it's caused by multiple instances of AnnoyingDialog  :?

Yea I couldn't reproduce the access violation. Maybe it was the way I closed C::B. I dunno.  :?

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: BYO games plugin :)
« Reply #54 on: June 21, 2006, 03:46:29 pm »
for those who want build ByoGames plugin on Linux using a CB project (like me)

here is a working byogames-unix project file attached.

[edit] file removed here and comitted to svn
« Last Edit: June 21, 2006, 05:16:52 pm by tiwag »

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: BYO games plugin :)
« Reply #55 on: June 21, 2006, 03:48:54 pm »
Thx for info.
Whats your CPU ? And what do you mean by saying "slowly" ? Does it work slowly or respond for keyboard with delay ? I've tested on gentoo and it worked almost fine for me.

Hello,

I have a PIII 500MHz and around 500MB RAM.

The games works slowly and responds slowly (with delay).

Best wishes,
Michael


CBtris works on my AMD XP 2800 with 1024MB ram
on Ubuntu 5.10 and is also really "slow" compared to the Windows version
running on the same computer.

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: BYO games plugin :)
« Reply #56 on: June 21, 2006, 04:52:41 pm »
Thx for info.
Whats your CPU ? And what do you mean by saying "slowly" ? Does it work slowly or respond for keyboard with delay ? I've tested on gentoo and it worked almost fine for me.

Hello,

I have a PIII 500MHz and around 500MB RAM.

The games works slowly and responds slowly (with delay).

Best wishes,
Michael


CBtris works on my AMD XP 2800 with 1024MB ram
on Ubuntu 5.10 and is also really "slow" compared to the Windows version
running on the same computer.

Hello,

I have just tried C::B rev 2592 on the same machine, but with Gentoo and it seems that now the game works fine. It is no more slow and perfectly playable :). Anyway, I will give a try on Ubuntu Dapper too.

Best wishes,
Michael

Offline Denis

  • Multiple posting newcomer
  • *
  • Posts: 48
Re: BYO games plugin :)
« Reply #57 on: June 21, 2006, 06:18:39 pm »
I played several minutes amd close the game. After some time I saw message "Stop playing and begin to work" (or something like this) :) I closed message but it popuped again. Only closing C::B helped with this problem :)

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: BYO games plugin :)
« Reply #58 on: June 21, 2006, 06:21:56 pm »
this reminder-shit should be removed clompletely from the code

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: BYO games plugin :)
« Reply #59 on: June 21, 2006, 06:32:09 pm »
I played several minutes amd close the game. After some time I saw message "Stop playing and begin to work" (or something like this) :) I closed message but it popuped again. Only closing C::B helped with this problem :)

It has already been fixed.

this reminder-shit should be removed clompletely from the code

No, it won't be removed. But it will be configurable in future.