Jump to content
SSForum.net is back!

Maverick

★ VIP
  • Posts

    3556
  • Joined

  • Last visited

Everything posted by Maverick

  1. On the EVEN_ArenaEnter you will see: //////// Arena //////// case EVENT_ArenaEnter: { arena = (char*)event.p[0]; me = (Player*)event.p[1]; // if(me) {/*we are in the arena*/} bool biller_online = *(bool*)&event.p[2]; } break; Thus the global variable 'arena' is filled there and contains the arena name the bot currently is in. I don't believe additional parameters for DLLs are possible, instead use a .ini file and read the values from that. The windows.h library has ready-to-use methods available for .ini files: const int BUFFER_LEN = 256; static char buffer[BUFFER_LEN]; static char INIPath[BUFFER_LEN]; GetCurrentDirectory(192, INIPath); strcat(INIPath, "\\pluginName.ini"); WritePrivateProfileString("Section", "KeyName", "KeyValue", INIPath); GetPrivateProfileString("Section", "KeyName", "DefaultValue", buffer, BUFFER_LEN, INIPath); sendPublic("Value = "+String(buffer)); Be aware that the buffer is large enough to contain the data (and for the path).
  2. request denied
  3. meh
  4. SSME registers .lvl filetypes to open in SSME - thats registry allright
  5. http://www.shanky.com/server/faq/buildlevel.html#1005411851
  6. try opening the maps from other zones in your map editor and see for yourself how they did it. Maps from other zones are located in C:\Program Files\Continuum\Zones\ .
  7. nice, people would need that Try deleting the old SSME and installing it to a different directory. I believe this error isn't caused by the registry, more by different VB dll's and archives. I don't know how to fix that though.
  8. Does anyone of the SSC Council know what the story behind SSCU downtime is? (SSCU = 17th and TW, DSB and others aren't on the same server)
  9. stick around, I will set it up for you done (via PM @ Continuum)
  10. doesn't even need an explenation
  11. use !@#$%^&* instead www.rshl.org/!@#$%^&*/
  12. very well [Closed]
  13. After 3 times trying a wrong password you get blocked with this error message for a few minutes only. If you then try again 3 times then you are blocked for a few hours. It can't be undone, it can't be solved by a ?banfree, you just have to wait. [Moved from SSC to Technical Support]
  14. Second name change 'Enzyme' to 'FIX', done
  15. I will put up a vote about it [Closed]
  16. Name change 'Arigorn' to 'Enzyme', done
  17. I like looking at http://toktok.sscentral.com/ssnews.php?filter=quotes
  18. Gallery problem solved
  19. yea its the Trench Wars feed that is causing duplicate messages. Swift should remove it or something. BTW. It was Swift's idea to import different news feeds from different sites who don't have anything with SSF at all
  20. No problemo
  21. Fill in the "Username/Squadname Request Form" at http://www.ssbase.com .
  22. I thought it was a typo at first. However it sounds really re!@#$%^&*ed.. 'moble'
  23. You should try to pinpoint when it happens (what action makes it do that)
×
×
  • Create New...