Search found 35 matches

by jmauver
Thu Jul 16, 2009 1:19 pm
Forum: General Discussion
Topic: PB 4.20 and Windows Vista Portuguese Environment
Replies: 5
Views: 2402

Thanks Cas. The code works perfectly.

Num3, yes, that virtual path was confusing me. Thanks for that. Just to clarify, the hard coded path for "Documents" for a given user on Vista in portuguese would be "c:\Users\%username%\Documents" ?

Hey Marco, that avatar means that nothing in this life is ...
by jmauver
Wed Jul 15, 2009 1:21 pm
Forum: General Discussion
Topic: PB 4.20 and Windows Vista Portuguese Environment
Replies: 5
Views: 2402

PB 4.20 and Windows Vista Portuguese Environment

Hello all,

I am developing a PB application which will run on a Windows Vista. The Vista is in portuguese language (pt -pt).

I need to find out how I can get the path for the ALL USERS startup folder using PB.

In english it would be "c:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup ...
by jmauver
Mon Dec 22, 2008 7:16 pm
Forum: Coding Questions
Topic: Trying to create a Bot for a game
Replies: 20
Views: 4577

Some people bot and sell characters, I know because I wrote some bots and that appears to be the end goal for most of the users.

case: You'd monitor this through memory reading. You need to create a process handle with read access (and write if you plan to modify). Knowing the memory offsets of ...
by jmauver
Sun Dec 21, 2008 7:49 pm
Forum: Coding Questions
Topic: Trying to create a Bot for a game
Replies: 20
Views: 4577

I just have to ask...

Is the point to PLAY or is the point to LEVEL UP?

If the only purpose you have in the game is to level up, maybe you need to find a new game?

After a certain point in ANY MMORPG is becomes almost impossible to level up and increase power. This is simply because there is ...
by jmauver
Sun Dec 21, 2008 3:33 pm
Forum: Coding Questions
Topic: Trying to create a Bot for a game
Replies: 20
Views: 4577

Thanks

Oh no... cheater, tell me which game is it and also your character's names so I can get you banned! :lol:

No, really. If you gave us at least the name of the game it would be easier to help you.

I guess this is an MMO... Most games handle input through the window's message system (in windows ...
by jmauver
Sun Dec 21, 2008 12:50 pm
Forum: Coding Questions
Topic: Trying to create a Bot for a game
Replies: 20
Views: 4577

Trying to create a Bot for a game

Hello community,

I am trying to create a bot for a game that I play a lot. The bot is intended to level up while I am away from my keyboard. So, I am having difficulties in how to handle the mouse movements and keyboard pressed keys and send them to the window where the game is running. Could ...
by jmauver
Sun Aug 31, 2008 12:51 am
Forum: Coding Questions
Topic: What's the best way for a ini file ?
Replies: 10
Views: 2226

Thanks!

Many thanks for the comments and links. :D
by jmauver
Sun Aug 31, 2008 12:02 am
Forum: Coding Questions
Topic: What's the best way for a ini file ?
Replies: 10
Views: 2226

Ops!

Gosh, what a shame I did not know PB already have it :oops: Sorry guys.

The library handles read/write groups and values. I presume that I have to read and store the settings on globals.

Thank you all.
by jmauver
Sat Aug 30, 2008 11:31 pm
Forum: Coding Questions
Topic: What's the best way for a ini file ?
Replies: 10
Views: 2226

netmaestro wrote:How about the preferences library?
Hi netmaestro,

You mean I create a preferences library ? Or there is a library for this purpose ? I searched the forum and could not find it. If there is a library, could you tell the link ?

Thanks a million.
by jmauver
Sat Aug 30, 2008 11:09 pm
Forum: Coding Questions
Topic: What's the best way for a ini file ?
Replies: 10
Views: 2226

What's the best way for a ini file ?

Hi guys,

I have all the settings for my application stored on constants. It is ok if you do not plan to change the settings like folder locations, database name etc.
But I think I need to give more flexibility in case someone else uses my application in another computer. So, as I can not read ...
by jmauver
Thu Jul 24, 2008 11:31 pm
Forum: Coding Questions
Topic: Confused about SQLite...
Replies: 26
Views: 4735

Working fine!

Thank you pdwyer !

Thank you npath !

Yes, npath, it works fine now after installing the update you pointed me out. It is fast ! Working very well. Now it is time to make my app a bit more sofisticated. :)

Best regards to all,
by jmauver
Wed Jul 23, 2008 3:26 pm
Forum: Coding Questions
Topic: Confused about SQLite...
Replies: 26
Views: 4735

its me again

jmauver,

You're welcome. You are right. You do not have to specify a value for the auto-incrementing primary key. SQLite will take care of this for you. By the way, I find that the PB interface works great for most of what I do with SQLite. In fact, I think that Fred has done an excellent job of ...
by jmauver
Tue Jul 22, 2008 8:49 pm
Forum: Coding Questions
Topic: Confused about SQLite...
Replies: 26
Views: 4735

Thank you !

Autoincrement works fine for me using the native PB interface with SQLite. See below for a generic example.


Procedure main()
Define.l i

If CreateFile(0, "test.db")
CloseFile(0)
Else
MessageRequester("Error", "Can't create file.")
ProcedureReturn
EndIf

UseSQLiteDatabase()

If ...
by jmauver
Tue Jul 22, 2008 3:43 pm
Forum: Coding Questions
Topic: Confused about SQLite...
Replies: 26
Views: 4735

> I saved TS-Soft static lib. I saved it in the PureLibraries/UserLibries
The required static lib comes with PB!
You have only to include my source as source, for example as
Sqlite3_include.pbi

greetings
Thomas

PS: the sun is shinning in berlin :wink:

Hi TS-Soft,

Thanks for that. I get ...
by jmauver
Tue Jul 22, 2008 2:44 pm
Forum: Coding Questions
Topic: Confused about SQLite...
Replies: 26
Views: 4735

Save TS-Soft's include file as a .PB or .PBI file (in keeping with pb naming conventions) and then XINCLUDEFILE that file at state start of any program using those functions.

The below is an excerp of my document manager

; Any specific modules that have to load first

XIncludeFile "\Development ...