Author |
Message |
Human Guest
Offline
|
Posted: Sun Oct 26, 2003 9:57 am Post subject: Bridge.dll |
 |
|
|
|
Yes you guessed, 'allowsavesips' can't do what I want it to do so now I'm trying to do a bot. This would be easy as p#ss except that bridge.dll doesn't seem to work.
How can I make the bot privmsg someone with a *command and the command work? I've tried telling it to do something like "PRIVATE:player:*prize #28" but the prize isn't given and the player sees the '*prize #28' which he clearly isn't ment to... Also same problem with sounds when I tell it to do a sound the '%5' just comes up instead of any sound.
The bot can do *arena but thats about it.. it also can't talk to itself as I tried telling bridge.dll to tell mervebot to !say the commands but it didn't work.
Also I'd like to know how to find out the exact position of a player on the map so the bot I'm trying to make can then know if someone is in a safe zone or someplace I do not want anti-warp being used.
so:
1) How can I use bridge.dll to send prizes and things to players?
2) How do I get the exact position of a player on the map, not the normal coords but the exact 412,768 grid coords? |
|
Back to top |
|
 |
ExplodyThingy Server Help Squatter
Age:38 Gender: Joined: Dec 15 2002 Posts: 528 Location: Washington DC Offline
|
Posted: Sun Oct 26, 2003 1:37 pm Post subject: |
 |
|
|
|
This saved ships thing has been tried and debunked by many many people. The ONLY successful attempt I have ever seen is in Hyperspace, and does not run on MERVBot. It has a monsterous database, and numerous other issues. It took a very long time to make it work. It is even now buggy
I am unsure of how bridge.dll works. THis should be in bot section. _________________ There are no stupid question, but there are many inquisitive idiots.
Loot
Dr Brain> I hate clean air and clean water. I'm a member of Evil Conservitive Industries |
|
Back to top |
|
 |
Human Guest
Offline
|
Posted: Sun Oct 26, 2003 3:49 pm Post subject: |
 |
|
|
|
Hyperspace is a good idea.. I've always thought subspace would be better if you can upgrade your ship as you go. I don't see why the database would be 'monstrous'
One field for pilot name then one field for each item as a boolean value and then one field for money Or one field for all items in the form of a memo field and one field for money.
I don't see where this would get too complicated which is why I want to have a shot at making my own version. Not a copy of hyperspace, but my OWN version of saved ships and things. I've just never had enough knowledge of databases to do it or anyway to write a plugin for MERVbot.. but bridge.dll shows promise I just hope what I want is possible. |
|
Back to top |
|
 |
ExplodyThingy Server Help Squatter
Age:38 Gender: Joined: Dec 15 2002 Posts: 528 Location: Washington DC Offline
|
Posted: Sun Oct 26, 2003 9:36 pm Post subject: |
 |
|
|
|
one for each player.
Name Money Ship Bounty <Every item> <every special> <every upgrade> <every thing>
Do it like hyperspace:
Name Money <ships owned> <every item for every ship> <every spe3cial for every ship> <every upgrade for every ship> <every thing for every ship> |
|
Back to top |
|
 |
SuSE Me measures good

Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: Sun Oct 26, 2003 10:09 pm Post subject: |
 |
|
|
|
moving to bots... |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Sun Oct 26, 2003 10:40 pm Post subject: |
 |
|
|
|
What are you programming this in? _________________ This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him. |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Mon Oct 27, 2003 8:55 am Post subject: |
 |
|
|
|
There are two tables in my database.
Players:
Name, Money, PlayerID
Ships:
PlayerID, Ship#, UpgradeString
The player has only 1 entry in the player database, but can have upto 7 (no shark) in the Ship database.
Monstrous? Ya, it probably has 10k entries by now. _________________ Hyperspace Owner
Smong> so long as 99% deaths feel lame it will always be hyperspace to me |
|
Back to top |
|
 |
Human Guest
Offline
|
Posted: Mon Oct 27, 2003 9:01 am Post subject: |
 |
|
|
|
The language I'm using to interface with bridge.dll is VB6.
Dr Brain, I believe you that your database will be massive but I just ment the complexity of it (fields and stuff). Besides, this is only a passtime thing to see if I can do it. It would help a lot with my college work surprisingly.
I need to know two maybe three things before I can do a bot like this and those are:
How do execute an SQL query through VB*
How to find the player's exact location in X,Y coords.
How to get bridge.dll working.
*I can access databases and could do the query with hardcoding but I'm sure theres a way to execute the SQL with some control. |
|
Back to top |
|
 |
Dustpuppy Server Help Squatter

Age:40 Gender: Joined: Jan 23 2003 Posts: 215 Location: England Offline
|
Posted: Mon Oct 27, 2003 11:02 am Post subject: |
 |
|
|
|
I've never used bridge.dll, but if you want to write anything serious you're much better off learning some C++ and writing a real plugin. |
|
Back to top |
|
 |
Human Guest
Offline
|
Posted: Mon Oct 27, 2003 3:01 pm Post subject: |
 |
|
|
|
Dustpuppy, I know.. I'm but a simple VB programmer and C++ is too complicated... I may as well go the whole hog and learn ASM if I'm gonna try C++... I'd just like have a go at doing this type of bot, can anyone help?
I've read that tutorial about writing a plugin for MERVbot but I don't understand C++ so it made little sense. If you know of another tutorial that explains more about C++ then please let me know that too. My main thing is still that I want information on how to use bridge.dll properly if it's possible, thankyou for reading. |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Mon Oct 27, 2003 4:45 pm Post subject: |
 |
|
|
|
ASM? Not that useful anymore, other languages are a heckofalot better. But definitely do learn C++, I'd have to say it's the most commonly used language right now (or Java?). It's the language I know best. Don't make plugins in VB6.
$$ C++ Tutoral: http://www.cplusplus.com/doc/tutorial/
Looking at the source for other plugins is a great way of learning how to make the plugins. |
|
Back to top |
|
 |
Dustpuppy Server Help Squatter

Age:40 Gender: Joined: Jan 23 2003 Posts: 215 Location: England Offline
|
Posted: Mon Oct 27, 2003 5:42 pm Post subject: |
 |
|
|
|
Agreed, I learnt it by just picking up the source for plugins, looking through the core and experimenting. |
|
Back to top |
|
 |
Human Guest
Offline
|
Posted: Mon Oct 27, 2003 6:50 pm Post subject: |
 |
|
|
|
ASM is much more versatile than C++ can ever be or anythign else for that matter.. but for the same reasons it's much longer to do... or so i'm told (and from what I've read I aggree).
In any case I'll be checking that tutorial, thanks cyan. I've allready been looking at bot code but I'm just not smart enough to go through it.. or maybe I'm just too distracted I don't know...
:: feeling down ::
thanks for the help |
|
Back to top |
|
 |
ExplodyThingy Server Help Squatter
Age:38 Gender: Joined: Dec 15 2002 Posts: 528 Location: Washington DC Offline
|
Posted: Mon Oct 27, 2003 7:19 pm Post subject: |
 |
|
|
|
Dustpuppy wrote: | Agreed, I learnt it by just picking up the source for plugins, looking through the core and experimenting. |
Exactly what I did.  |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Mon Oct 27, 2003 7:41 pm Post subject: |
 |
|
|
|
Yeah you gotta learn some basic C++ before looking at source or you'll be totally confused. Catid's code is pretty advanced. |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Mon Oct 27, 2003 9:23 pm Post subject: |
 |
|
|
|
ASM? Lol |
|
Back to top |
|
 |
Human Guest
Offline
|
Posted: Tue Oct 28, 2003 12:44 pm Post subject: |
 |
|
|
|
'ASM? Lol' - Dr Brain
... hmm? |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Tue Oct 28, 2003 12:48 pm Post subject: |
 |
|
|
|
C++ is a much higher language than ASM. Its like saying that "I might as well learn Latin if I was going to learn Japanese." |
|
Back to top |
|
 |
SuSE Me measures good

Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: Tue Oct 28, 2003 1:13 pm Post subject: |
 |
|
|
|
languages are easy to learn, especially spoken ones  |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Tue Oct 28, 2003 6:02 pm Post subject: |
 |
|
|
|
Lol I'm sick of all these languages. I think I'll just learn how to send electrical pulses down my fingers to connect with the motherboard. That's how pointful learning ASM is.  |
|
Back to top |
|
 |
Human Guest
Offline
|
Posted: Thu Oct 30, 2003 3:42 pm Post subject: |
 |
|
|
|
Yes, exact control of the computer and it's hardware right at the binary level... I'd say that is a very good thing if you are trying to do an extremely complex program such as an operating system. When I said I may as well just learn ASM I was comparing it's complexity with that of C++ and saying that to learn one I should just learn the other because they are both too hard.
Barin, C++ is a high level language but ASM gives you more control or at least shows that control in a more effective way than C++. I do not know either language but I have given them both a shot and from what I did do it seems ASM is actually easier.
This is all just my opinion and I'm sure I'd find them both extremely hard to learn which was why I made the original statement. |
|
Back to top |
|
 |
Human Guest
Offline
|
Posted: Thu Oct 30, 2003 3:48 pm Post subject: |
 |
|
|
|
Yes, exact control of the computer and it's hardware right at the binary level... I'd say that is a very good thing if you are trying to do an extremely complex program such as an operating system. When I said I may as well just learn ASM I was comparing it's complexity with that of C++ and saying that to learn one I should just learn the other because they are both too hard.
Barin, C++ is a high level language but ASM gives you more control or at least shows that control in a more effective way than C++. I do not know either language but I have given them both a shot and from what I did do it seems ASM is actually easier.
This is all just my opinion and I'm sure I'd find them both extremely hard to learn which was why I made the original statement.
oh and cyan~fire, people are learning how to do that.. lol I forget the name but it's a type of advanced computer interface.. they can also do it with a special hat and use the brain waves. |
|
Back to top |
|
 |
System.out.println(" Guest
Offline
|
Posted: Sat Nov 01, 2003 2:17 pm Post subject: |
 |
|
|
|
I didn't think Japanese was derived from Latin at all... |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Sat Nov 01, 2003 2:51 pm Post subject: |
 |
|
|
|
Was C++ derived from ASM? I mean, they have the normal language similarities, but they're as far apart as VB and C++. |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Sat Nov 01, 2003 4:09 pm Post subject: |
 |
|
|
|
C++ is portable. ASM isnt. C++ catchs simple errors. ASM Doesnt.
C Makes it easy to shoot yourself in the foot. C++ makes it harder, but when you do, you take the whole leg. By extension, ASM makes it easy to shoot yourself, AND it takes the leg.
Quote: | I didn't think Japanese was derived from Latin at all... |
Its not. |
|
Back to top |
|
 |
|