Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Pacnet2012²

Pages: [1] 2 3
1
V2
Well, I've been working on a client side mod for Glass' Trench Wars for a while, and the beta is done.

Features :
  • Donate Points : Apparently fixed this..?
  • Live Capture Map : Shows what points are controlled by red or blue on a list.
  • Stats : Check your health, dirt and score on a GUI.

Changelog
v2 Beta - Server side donating apparently fixed, GUIs made to look better, capture map is now a List, stats GUI is redesigned.

v2.1 Beta - Keybind added.
More features to come.

Place the add-on into your Blockland/Add-Ons folder.
In-Game you will need to type /trenchgui to open your GUI. It will later be keybind operated.


Both this client side mod and the server side mod made to work with the GUIs are made by me for Glass' Trench Wars.

>>View VirusTotal Scan<<

If you see any other bugs, just report them to me. Thanks.

2
Can someone edit this image showing which squares are : http://imageshack.us/f/297/spheremapgalaxyasteroid.png/

Up
Down
Front
Right
Back
Left

Please?

3
General Discussion / REMOVE THIS TOPIC.
« on: August 21, 2012, 07:50:01 PM »
WE ARE CLOSED AND DONE.With the hosting service.

4
General Discussion / Carandrew's Leaving Party! Done.
« on: August 21, 2012, 02:22:45 PM »
carandrew is going to lose his internet for some time, so he is having a party.

Carandew's Leaving Party!

Concert performance by YoungRotations.

There's a party, a concert, and a big club!

Hosting by Pacnet2012 + hammereditor's Dedicated Hosting Service 2.


Pictures :




Yeah, I know I rushed the topic, the party has started already.

5
Off Topic / nope
« on: August 21, 2012, 07:20:14 AM »
Never mind

6
Off Topic / I never knew 4G LTE was THIS loving fast!
« on: August 18, 2012, 03:14:29 PM »
Holy poop I used speedtest.net mobile on 4G LTE (Verizon) and I got a speed of 23/9?


I'm not even joking. This is a mobile network.

Ann Arbor, Michigan.
 

 


7
Modification Help / [GUIDE]Make A Ground Add-On - Picture Tutorial
« on: August 15, 2012, 09:56:32 AM »

Want to make a ground? Need reference? Have no idea how to do it? No problem! I'll show you how!

Contents :
1 - Creating your ground texture images
2 - The .ground file
3 - The final touches



Creating ground texture images
As far as textures, you only need two JPG files.

Let's make a new folder for our ground add-on.


Now draw the texture you want or get it online. If you are going to draw it, make the size 512 x 512 pixels.

In my case, I'm too lazy to draw it, so I will get the texture I want online. I wanted a swimming pool texture, so this is what I got.


If it's an online image, right click on it and click Save as.. or Save image as..., etc. Save it to your folder and then make TWO copies of it.

If you drew it, just make a second copy of it.

Now rename one of your copies to one of the items listed, and rename the other copy to the other item listed in this list :


name.jpg - 512 x 512 pixels - Replace "name" with a short, lowercase, one word name you want. For example, pool.jpg.

name-thumb.jpg - 64 x 64 pixels - Replace "name" with the same short, lowercase, one word name you used for the file above. So in my example, pool-thumb.jpg.


So your folder now looks something like this :



But these images are most likely not SIZED correctly. The normal .jpg has to be 512 x 512 pixels and the one with "-thumb" in it has to be 64 x 64 pixels.

So you now need to resize them. You can easily do this in MS Paint :



Make sure you uncheck "Maintain aspect ratio".
Now your images should look like this in MS Paint :

In the below image my normal .jpg (No "thumb" part in the filename) is 512 x 512 pixels.


In the below image my -thumb.jpg (It has "thumb" in the filename) is now 64x64 pixels.


Tada! You created the basic texture and icon for your ground add-on.



The .ground File

This is going to probably be the hardest part of the tutorial, but stay with me.

In your folder, create a new text file called "name.txt". Replace "name" with whatever name you used for the normal 512 x 512 .jpg texture. In my case, my normal .jpg texture was called "pool.jpg", so this text file will need to be called "pool.txt".

If your normal .jpg file was called "snow.jpg", this text file would be "snow.txt", etc.

Now just open it up in notepad, and copy this into it :

Code: [Select]
$Ground::topTexture Add-Ons/Ground_Yours/yours.jpg
$Ground::scrollSpeed 0 0
$Ground::loopsPerUnit 0.05
$Ground::Color 0 0 0 1
$Ground::ColorMultiply 1

You will now have to edit this to make it your own. Let me guide you.

$Ground::topTexture needs to be replaced by the filepath of your normal .jpg ground texture.

In my example my folder was called Ground_Pool, and my normal .jpg file was called "pool.jpg".

So the line would be this for me :

Code: [Select]
$Ground::topTexture Add-Ons/Ground_Pool/pool.jpg
Lastly, the hardest part. The color.
You can't just use RGB color code here : this is decimal color code.

Go to this site : http://www.psyclops.com/tools/rgb/

You will choose a color you want the ground to be, and look at the numbers under the "Decimal" box.

Note down the first, second and third numbers.

Now edit the line like this :

Code: [Select]
$Ground::Color 0.first 0.second 0.third 1
So replace "first" with the first number from the site, "second" with the second number from the site, and "third" with the third number from the site.

For example, if the first number i got from the site was "95", the second was "47", the third "50", then mine would look like this :

Code: [Select]
$Ground::Color 0.95 0.47 0.50 1
That's all you need to edit.

Advanced users who know what the other 3 variables do may edit it to their liking.

Now save the file like this :



TAKE NOTE : In the Save as type box I chose "All Files", and I am saving it as a ".ground" file. This is very important.

In my example, I saved it as pool.ground. Again, name it the same thing as your normal .jpg file.

So if your normal .jpg texture file was called "snow.jpg", this file would need to be saved as "snow.ground", and so on.

Your folder should now look like this :



You're almost done.



The final touches : Packaging

All you need to do now is package the add-on.
If you've made add-ons before, you know that you need :

A server.cs / client.cs / or no .cs.

A description.txt


In ground add-ons, you don't need any ".cs" file. No coding required.

But you still need the description.txt.

If you know how to do it, go make the description.txt. If you don't, listen to me.

Simply create a new text file called description.txt in your folder.

Copy this into it :

Code: [Select]
Title : Ground - Name
Author : Your name here
This ground is..

Make the title what you want, put your name in the Author : place, and write a short description where "This ground is.." is.


There! Last step is to compress the add-on so you can share it.

Simply hold CTRL while clicking on all the files in the folder : the .ground file, both .jpg files and description.txt.

Then right click on one of them, hover over "Send to.." and click "Compressed Zip."

On mac, just right click / hold your mouse and click "Compress".

This is the finished product:


Now you simply put the Ground_something.zip into Documents/Blockland/Add-Ons. You can see it in-game!



TADA! You're done! Upload it to the Environment Files section of the forums or try RTB!

8
Help / I can't ban. It doesn't work.
« on: August 15, 2012, 07:25:59 AM »
On my server, if I try to ban someone, nothing happens.
Same thing for kick. It does nothing. I use the admin menu but nothing happens.

I can really only kick like this :

findclientbyname("guys name").delete("Spamming");


Should I trace the console, try banning, then posting console.log?

It's a dedicated server.

9
Help / Screenshots don't work in the shader / shadow update.
« on: August 14, 2012, 02:37:10 PM »
If I use Shift + ctrl + P or just Shift + P, the screenshots never go into my blockland/screenshots/ folder.

My last screenshot in the folder is from 8/8/2012, before this update, and now after the update they don't work anymore.

Uh?

10
Off Topic / Android 4.1 Browser on the Forums : Avatar Bug?
« on: August 14, 2012, 07:36:20 AM »
When I look at people's avatars on my android 4.1 browser, sometimes if the avatars are .GIF files and are animated, the frames play way too fast. Anyone else have this bug?

11
Keeping this is a reference to others :

To add a control while making a GUI to a parent you right click on the parent and then add your control with the New Control drop-down list.

Solved by Port.

12
Who signed me up for this junk?
Yahoo :

Gmail :



Post pictures of your own cluttered or spam filled inboxes!

13
Drama / Hello folks! Kalar is planning his 3rd major DDoS attempt!
« on: August 11, 2012, 08:03:17 PM »
Kalar is going to DDoS someone again, for the third time. Again.

Kalar apparently also blocked Saxaphone's connection to this server which seems to say that this is real and Saxaphone isn't making it up.

Also, Saxaphone told me to mention that Kalar keeps making huge lies to him and stuff like that.

And folks, guess who will be helping him out in his DDoS attack!

The UDP unicorns!

But seriously. Kalar is always DDoSing people, and this is just ridiculous.






14
Solved!
Keeping this topic unlocked so others can use it for reference.


Will this line of code work? It's part of a keybind generator script.

Code: [Select]
function Jeepserver_OpenGui(%guiname)
{
   canvas.pushDialog(%guiname);
}


Visual Studio (C# 2010) seems to show a problem.

It basically is supposed to set a newly generated .cs file for a new generated keybind to open a GUI when you press the key.

%FO is a FileObject.
%funcname is the GuiControl's name that a user picked from a PopupMenu List.

15
Modification Help / Get all GuiControls and names of them
« on: August 10, 2012, 08:07:15 PM »
Never mind, I got it.

If you want to use this topic as reference, I wanted to get all the GuiControl objects and put them in a list.

Pages: [1] 2 3