Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Dna Disturber

Contributor
  • Posts

    37
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by Dna Disturber

  1. [PLUG-IN] PINemHi LeaderBoard (works with pinballx version 1.76 and up) PINemHi LeaderBoard is a program that catches the score and specialscores from player 1 (Visual Pinball only at the moment) The normal score doesn't have to be on the hiscore table of the game, even scores like 1000 can be submitted. Special scores are for instance , 20 loops (back to the future) or 50 martians killed (attack from mars) and so on... If you have a nice score, just don't start a new game but just quit the game, PINemHi LeaderBoard will do the rest. When quitting a game you don't have to rush , just as long as you don't start a new game the score(s) can be retrieved. Hiscores can be found on http://www.pinemhi.com/hiscores.php Just a trial run here to see if it works ok....so if anyone wants to try it out... unpack the pinemhi_leaderboard_plugin.zip in your pinballx directory. Read the instructions that come with it to get it working and for more information <IMPORTANT> If all goes well I'll upload it to the site.... Have Fun, Dna Disturber -edit- found a little problem with the special scores, i already fixed it and have added support for 18 future pinball tables.... Will release it soon..in the meantime i deleted the plugin from this post.
  2. @Tom Could i have the exact line of code you're using for the conversion ? TIA
  3. I' m also using the statistics.ini to get the rom for a check before start to check for same scores. The sections in the statistics.ini are a combination of variable system then an underscore and then variable gamename. Only with the gamename the spaces have been replaced by underscores and also the . ( ) have been deleted. Just to make sure to have a good conversion , is that all or do you have other characters that are converted or deleted? TIA
  4. No problem... Totally overlooked the one that came with the pinballx setup Works like a charm, i can get the content from variable ROM now Thanks Guys
  5. I found it in a link in a post from adultery Couldn't find one in the download section It's version 1.0.0 Where can i find the newest one?
  6. I seem to have a bit of a problem getting the ROM value I think it doesn't come through for the plugin First off I put the ROM in the structure <StructLayout(LayoutKind.Sequential)> _ Public Structure PlugInInfo_1 Public System As String Public SystemName As String Public INI As String Public GameName As String Public GameDescription As String Public GameShortDescription As String Public TableFile As String Public TablePath As String Public Parameters As String Public DisplayWidth As Integer Public DisplayHeight As Integer Public DisplayRotation As Integer Public DisplayWindowed As Boolean Public PlayFieldDisplayNbr As Integer Public BackGlassDisplayNbr As Integer Public DMDDisplayNbr As Integer Public Filter As String Public ROM As String End Structureafter that i use a MSGBOX to see if i could get the ROM and Tablefile Public Sub Event_GameExit(ByVal InfoPtr As IntPtr) 'Called when a game is exited Dim Info As PlugInInfo_1 = CType(Marshal.PtrToStructure(InfoPtr, GetType(PlugInInfo_1)), PlugInInfo_1) MsgBox("Romname = " & Info.ROM & " Tablename = " & Info.TableFile) End SubTablefile goes fine , ROM stays empty in the msgbox Looking at the normal pinballx log it says 17:39:32.2 23-2-2014: L:\vpinball\VPinball912.exe /play -"L:\vpinball\Tables\Black Belt.vpt" 17:39:32.4 23-2-2014: D:\PinballX\vpauto.exe 17:39:46.9 23-2-2014: Found PinMAME ROM: blackblt.nv In the statistics.ini it is also mentioned TIA
  7. Hi Tom, I think that's all i need to make the plugin work. I'm gonna play around with it ,see if i can get it to work Thanks for the quick support.
  8. Mame should also be possible.....but with all the changes being made it's hard to keep up Vpinmame is really stable , only one update a year and no renaming a lot off roms etc. I've been a member of the HitoText team...but the constant changes with mame were a pita... With every update something broke.. It could be done All you have to do really is just know the position of the 1st player score in the .hi or .nv Capture it and send it to the database Ok not that easy but it is possible Certainly not trying to make it cheatproof. That's impossible and would make things very complicated. Honorary system is the way to go. First Picking up the nicer games and slowly build on that. Thanks in advance for asking about the romname variable to Tom The game tags are really cool btw , quite some info...and also with a picture...awesome
  9. It's already implemented in pinballx using the pinemhi.ini file the windowname from vpinmame can be converted to a romname using a list of names in the ini-file. One table can make use of a number of roms, this is why you need to get the right one when the game is running Tom has already put that in to make pinemhi work. To see if i can send the hiscores i need the variable that is used in your template. The plugin system is really interesting With pinemhi leaderboard i extract the last score that's been made , it doesn't have to be a score that's in the hiscorelist of the table. also it extracts the special scores , for afm for instance ruler of the universe, loop champion etc. With this working there could also be an offline achievement system. The website already had a badge system (achievements) and you can do challenges..... Leaderboard and cupstandings are also in.
  10. The table file is the actual tablename (with .vpt at the end) didn't find the romname in the template...propably because it was made prior to the pinemhi support. for instance for Attack from mars it should be afm_113b
  11. Hi, Is it possible to get the variable for the romname using the PLUGIN template ? romname is used in pinemhi support , you can see it being assigned in the (normal) log. If so what is the variable name and can i just add it to the structure in the template? Maybe a question for adultery ? Want to add a plugin to send the hiscores and special scores (loop champion etc) to the website http://www.pinemhi.com/hiscores.php TIA, Dna Disturber
×
×
  • Create New...