[QUOTE=Grocel;13753122]The right link is:
[url]http://pcmod.googlecode.com/svn/pcmod2/[/url]
He has a typo in his link. :)[/QUOTE]
Ehh, whats a typo? Sorry I didn't know that.
[QUOTE=Grocel;13753122]The right link is:
[url]http://pcmod.googlecode.com/svn/pcmod2/[/url]
He has a typo in his link. :)[/QUOTE]
Damn that's the second time I've done that. Thanks, I'll update post now.
---
And the last time you tried PCMod 2 was probably in Beta mode on my server with 6 other players, right after I managed to break it somehow. If you don't want to download it, that's fine by me, but bear in mind all the major bugs are out of the way and most of the minor ones we know about and have fixed prepared for. (Or we are still in the process of preparing a fix).
Also, that module has worked wonders kogit - thanks alot. The only thing is, is that it's a pain to type with low FPS and there are a few other problems but I can iron them out easily.
I've just been on single player (before I noticed there was SVN, and running 2.0.0) and when I tried to start up ChatServ, it came up with an error, I will copy paste if it happens again.
[QUOTE=thomasfn;13753409]Also, that module has worked wonders kogit - thanks alot. The only thing is, is that it's a pain to type with low FPS and there are a few other problems but I can iron them out easily.[/QUOTE]
One of those problems ( if you didn't notice ) is non-support for symbols accessed by the shift key ( I thought of that earlier today ), nor support for backspace / delete ( these were due to the nature of the module on my part ).
But if they can't type with that for whatever reason, they could fall back on the virtual keyboard that you have included already.
[QUOTE=Kogitsune;13753923]One of those problems ( if you didn't notice ) is non-support for symbols accessed by the shift key ( I thought of that earlier today ), nor support for backspace / delete ( these were due to the nature of the module on my part ).
But if they can't type with that for whatever reason, they could fall back on the virtual keyboard that you have included already.[/QUOTE]
Yes I did notice that. Instead of using the buffer (which although I did ask for, I realise I didn't really need), I just pass all keypresses straight to the system which handles keypresses from the virtual keyboard so I barely needed to rewrite any core structure. The virtual keyboard passed in "<--" for backspace, so I just used this in the module:
[code]AddKey( KEY_BACKSPACE, "<--" )[/code]
And that works perfectly fine. As for the symbols accessed by the shift key, I will be making changes to AddKey in order to support that so that shouldn't be a problem. Once again, thanks very much for the code :)
Thanks for the SVN links, and the module for keyboards sounds like a big improvement. How far can you when it comes to themeing this anyway? If I remember you could make themes for PCMod 1.
Themes are even easier to do than before. Go check out the current ones in your pcmod/lua/pcmod/themes/ folder. The advanced hooking stuff at the bottom is optional, but allows you to customise the look of almost everything drawn to screen.
holy cow, this is propper Bo i tell thee :P
Awesome, thanks [img]http://d2k5.com/sa_emots/smile.gif[/img], do you have a wiki for this like 1 had? That could be useful for storing tutorials and the likes again surely?
[QUOTE=thomasfn;13754196]Yes I did notice that. Instead of using the buffer (which although I did ask for, I realise I didn't really need), I just pass all keypresses straight to the system which handles keypresses from the virtual keyboard so I barely needed to rewrite any core structure. The virtual keyboard passed in "<--" for backspace, so I just used this in the module:
[code]AddKey( KEY_BACKSPACE, "<--" )[/code]
And that works perfectly fine. As for the symbols accessed by the shift key, I will be making changes to AddKey in order to support that so that shouldn't be a problem. Once again, thanks very much for the code :)[/QUOTE]
[url]http://luabin.foszor.com/1973[/url]
Added the optional uppercase definition to the add function
Made the buffer set-able ( not that you're using it )
Improved Callbacks ( No longer SetCallback, now AddCallback ) to perform more like hooks
Might be a little bit faster when using capital letters now, and a little more use friendly. You might have already beat me to fixing that, though, so, cheers :).
Yeah, I kinda beat you to that ;) thanks all the same though.
> Notepad cant save files
> Chatserv doesnt work, period.
Thanks thomasfn! Your tip is working perfectly!
[QUOTE=djratboy;13754936]> Notepad cant save files
> Chatserv doesnt work, period.[/QUOTE]
I will get back to you just as soon as I develop mind-reading powers (that work across broadband) and figure out exactly what's going wrong.
I'm still a bit confused on adding music, i see this:
// Below, you can add your own songs to PersonalPlayer. They will come up on the custom tab.
cfg.CustomSongs = { -- Do not edit
// { "music/SONG_NAME.mp3", "Song Name Here" }, -- EXAMPLE
// { "music/SONG_NAME2.mp3, "Second Song Name Here" }, -- EXAMPLE
} -- Do not edit
Now where do i add the line for the path to the music (I know they need to be in Gmod/sounds/music/"MP3 file"
Ok ya, I choose the wire tool and left click on the PC, sometimes a display shows up and lets me pick a choice, then everything stops working, other times the display doesnt show up.
Ok after some left click spamming i got it to work, seems like the tool doesnt react to left-click most of the times.
Why is no one listning to me i said i had a problem with pcmod 2.0 and no 1 gives a shit :(
[QUOTE=bcool14;13755666]Why is no one listning to me i said i had a problem with pcmod 2.0 and no 1 gives a shit :([/QUOTE]
Because you didn't give any helpful hints about WHAT was causing the errors. All you said was it didn't work.
If you don't give the error, he can't guess what is making it not work.
After some more reasearch it turns out that the VGI menu just randomly pops up outside my screen, if this would be fixed then everything would work correctly.
[QUOTE=jiggu2;13755789]After some more reasearch it turns out that the VGI menu just randomly pops up outside my screen, if this would be fixed then everything would work correctly.[/QUOTE]
If you mean the port selection menu, then the position for that it calculated based on the entity's position - ent:GetPos():ToScreen(). Are you firing at the entity normally with your crosshair, or are you using your screen cursor via context menu?
[b]Edit:[/b]
And darkwolf, it would look like this:
(Get rid of all the examples in the middle)
[lua]cfg.CustomSongs = { -- Do not edit
{ "music/nameofyoursong.mp3", "Name Of your Song" }
} -- Do not edit
[/lua]
This is assuming your music is called garrysmod/sounds/music/nameofyourmusic.mp3.
First i fire with crosshair, then it automatically pop up the context menu and forces me to use that.
Also how do you connect speakers? It keep saying No ports.
[QUOTE=jiggu2;13755877]First i fire with crosshair, then it automatically pop up the context menu and forces me to use that.
Also how do you connect speakers? It keep saying No ports.[/QUOTE]
First you fire with crosshair and it pops up port selection menu, or pops up the actual context menu? (Context menu is what you get when you hold 'c')
[QUOTE=thomasfn;13755901]First you fire with crosshair and it pops up port selection menu, or pops up the actual context menu? (Context menu is what you get when you hold 'c')[/QUOTE]
Either the port selection menu shows up outside my screen or it shows up the context menu.
I cant give any errors because they go away 2 quickly and when i try to spawn a pc it just doesnt work, with no errors ok?
ooh thomas why?
I admire your work and dedication towards pcmod2, but pcmod 1 was better in my opinion, the simplicity to use computers. I mean.. It is hard to explain b-but why?
Thomas, where is the (wireless)modem, how are we supposed to connect Pc's with chat servers that are at the other side of the map, why does the install disk uses a bluetooth symbol when installing software, Why do you just need a toolgun to get the install disk and such sweps (isn't this supposed to be the RP Scripts job to make a Computer technician and throw those sweps at you?) The password cracker works way too easy and Pcmod1 had the ability to use direct input (no onscreen keyboard)
I am sorry Thomas, but I like Pcmod1 more because of the above reasons even though I respect you for the work that you have done.
It's the VGI menu but outside the screen.
Fixed it by standing on the entity and firing on it.
Alright, the music now shows up, but with no soud (doesn't load). Can i get an exact directory on what the location of the music should be?
Mine's at Garrysmod/Garrysmod/sound/Music (had to create my own directory)/MP3
I also tried to put them at other directories too...
[QUOTE=Wokkel;13755947]ooh thomas why?
I admire your work and dedication towards pcmod2, but pcmod 1 was better in my opinion, the simplicity to use computers. I mean.. It is hard to explain b-but why?
Thomas, where is the (wireless)modem, how are we supposed to connect Pc's with chat servers that are at the other side of the map, why does the install disk uses a bluetooth symbol when installing software, Why do you just need a toolgun to get the install disk and such sweps (isn't this supposed to be the RP Scripts job to make a Computer technician and throw those sweps at you?) The password cracker works way too easy and Pcmod1 had the ability to use direct input (no onscreen keyboard)
I am sorry Thomas, but I like Pcmod1 more because of the above reasons even though I respect you for the work that you have done.[/QUOTE]
The only reason you need to use the stool to give sweps is because the install disk requires special functions to be called in order to work. The DarkRP plugin gives you a wiring swep, an unwire swep and all the other sweps apart from install disk and exclusive access to the RP menu. The install disk gives a bluetooth symbol because... well, it's the standard icon for PCMod programs.
For the guy with wiring tool menu problems, I will look at the code - I have been planning on making changes on how the menu is being sent from server -> client anyway.
Wow... I go at around lunch and get back around 9, and the whole page gets filled... Sorry GMT, I want your brain too. x3.
Sorry, you need to Log In to post a reply to this thread.