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 - XVicarious

Pages: 1 [2] 3
16
Gaming Discussion / Help Choosing 10 GAMES
« on: January 08, 2012, 01:11:49 pm »
as some of you might know I won 1st prize in Steam's epic holiday giveaway. I need help choosing my 10 games.  I'm on my phone so just search xvicarious on steam to see my current top 10 and games I own. When I get home I'll add links and maybe a list.

17
Art / Art Porting Help -- Flash Art
« on: December 26, 2011, 06:57:39 pm »
So long ago (well... 4 years ago) I made a game called "[Danger in Shapes]" in Gamemaker.  I went on to make a sequel and started on the 3rd game (and last of the Trilogy).
So I want help porting some art to swf with animations and I am terrible at art.  I am porting my game to Flash/HTML5/Android.

So here is what I am requesting!!!

I would like either this, or something like this but the background be more animated (moving stars, blackholes etc).


Now this might have to be 100% remade because I want the background off of it and only have the "wormhole" or whatever the hell it is (honestly I made this game so long ago I don't exactly remember).  I want this a little more animated as well...

You guys are creative and I know that you will find ways to make both look a hell of a lot better!

18
Music Showcase / DJ Omnimaga Albums -- Torrent Compilations
« on: October 25, 2011, 12:05:41 am »
I have taken the liberty (with DJ_O's permission) to create torrents of each of his albums.  The names of the mp3s are nice and formatted, and the ID3 tags are present.  I included the playlist for each album (named "00 Name of Album"), and the cover in JPG format.

Angel In The Stars: http://xvicario.us/torrents/dj_omnimaga-angel_in_the_stars.torrent
Enter The Dream World: http://xvicario.us/torrents/dj_omnimaga-enter_the_dream_world.torrent
It's The End Of Time: http://xvicario.us/torrents/dj_omnimaga-its_the_end_of_time.torrent
More to Come!!!

Please seed this for ever and ever.  And you with limited bandwidth, at least seed a ratio of 1.5 (upload one and a half of each of these) so we can keep these alive.  I will be seeding forever, or until some mishap that forces me to reformat or something (whichever comes first).

edit: I can't seed tonight I'm so sorry, but I will seed right when I get up.

19
Computer Projects and Ideas / IrmageBoard -- X-Chat Python Script
« on: October 19, 2011, 08:34:53 pm »
Hey all, I have been working on a new script called IrmageBoard and it is for X-Chat!  It is written in Python.  Here are the features:

-- >greentext
-- Filters (if you don't know what they are,  it changes words like "moot" into "missingno" , and "missingno" is colored)
-- /facepalm command (*XVicarious facepalms at Juju :P)
-- Update the filter list (stored on a webserver) without reloading the plugin with "/irmage update filter"
-- See the update log of the script with "/irmage log"

Upcoming Features:
-- Update the script with "/irmage update script"
-- Add configurations for servers and channels!

Bugs:
-- NONE! (I hope :D)

Download: http://xvicario.us/getfile.php?f=IrmageBoard.py (v0.5.0)

Development Version:
Spoiler For CODE:
Code: [Select]
NO CURRENT DEV VERSION!

You need to have PyYaml for this plugin installed!

Here is an example of a filters.yml (the first word is the word to be replaced, the second is the word to replace with)
Code: [Select]
lol : Laughing Out Loud
jkag : Pure Awesomeness :D

The readme for the next version (v0.7.0)
Spoiler For Spoiler:
Quote
------------------
IRMAGEBOARD v0.7.0
      README
------------------

IrmageBoard adds some features you see on imageboards on the internet like that of 4chan.  These features are completely useless, and just for fun! This document gives you an overview of the syntax for the plugin and its configuration files.

------------
REQUIREMENTS
------------
X-Chat with the Python Plugin
Python 2.7
PyYaml

--------
COMMANDS
--------
Note the command is in the brackets

[irmage] -- See the introduction text
[irmage log] -- See the changelog for the script
[irmage about] -- See an about screen
[irmage update <filter/script>] -- Updates the filters or script
[irmage add server] -- Adds the server you are currently on (where you executed the command) to the configuration file
[irmage add channel] -- Adds the current channel you are on to the server you are on to the configuration file
[irmage set filter <0/1>] -- Sets the filter on or off for the channel you are on
[irmage set filter-url <url>] -- Sets the location of the filter file to the configuration file of the channel you are currently on
[irmage set greentext <0/1>] -- Sets greentext on or off for the channel you are currently on


-------------
FILTER FORMAT
-------------
The filters use YAML for replacing certain words.

<word-to-replace> : <word to replace with>

Super easy to set new filters.  Just save it as a *.yml file and upload it somewhere!


--------------------
CONFIGURATION FORMAT
--------------------
The configuration uses YAML for adding servers and channels and options as well. Please note that the script can automagically add new servers and channels to this list from a simple command!

irc.ircserver.com:
    MyChannel:
        greentext: <0/1>
        filters: <0/1>
        filter-url: <url>

A very simple configuration format!


-----
LEGAL
-----
Use, improve, and abuse.  Please if you do improve it give credit to: XVicarious (Brian Maurer, [email protected]).

Also, I need suggestions on features to add to my plugin!  I know it needs more features!

20
Computer Programming / urllib is not being nice :(
« on: October 16, 2011, 04:36:44 pm »
So I am writing a plugin for XChat and I have come to the conclusion that urllib is somehow preventing greenText() from being executed... What is going on :(?

Here is the code:
Code: [Select]
__module_name__ = "IrmageBoard"
__module_version__ = "0.2.0"
__module_description__ = "Liek a real imageboard guies (without the images!!!1)"

import xchat, string, re, random, yaml
from urllib import urlopen

global myFilter
ymlFilter = urlopen("http://xvicario.us/irmageboard/filters.yml")
myFilter = yaml.load(ymlFilter)
ymlFilter.close()

print "\0034",__module_name__, __module_version__, "has been loaded\003"

def greenText(word, word_eol, userdata):
    print "EXECUTING greenText()"
    if word_eol[0].find('>'):
        return xchat.EAT_NONE
        print "FOUND NOTHING!"
    else:
        xchat.command(" ".join(["msg", xchat.get_info("channel"), ''.join(["3",word_eol[0]])]))
        print "FOUND SOMETIHNG!"
    return xchat.EAT_ALL

def filters(word, word_eol, userdata):
    newString = word_eol[0]
    for k, v in myFilter.iteritems():
        if k in newString:
            tempColor = random.randrange(0,16,1)
            tempBack = random.randrange(0,16,1)
            tempReplace = re.compile(k, re.IGNORECASE)
            newString = tempReplace.sub(v, newString)
            newString = "".join(["\003",str(tempColor),",",str(tempBack),newString,"\003"])
    xchat.command(" ".join(["msg", xchat.get_info("channel"), newString]))
    return xchat.EAT_ALL

xchat.hook_command("", greenText)
xchat.hook_command("", filters)

edit: that is everything :/

21
I decided I should cross post this here from MinecraftForum.net

MCLauncher is a tool where you can launch any version of Minecraft (as long as you have the JAR) without having to set up a completely new environment.

There is a list view of all the JARs you have in the JAR folder. You select on and press "Launch". this will launch minecraft and you play that version.



"minecraft.jar" (the launcher) will automagically download if it is not in the folder when you open the application. You will also need to place your (or another) .minecraft folder inside the root of the program. Finally you need a folder called "jar" where the actual game jars are located.

here is the link to the download: http://xvicario.us/getfile.php?f=mclauncher-install.exe

Please comment :D

edit: And I just made a new Icon, what do you think of it?

22
Web Programming and Design / SmoothColor for Facebook, Stylish UserStyles
« on: September 19, 2011, 08:39:28 pm »
So last month I started making UserStyles for Facebook. UserStyles are CSS style sheets loaded into your browser to modify the look of certain websites.

So I made Facebook UserStyles! :D

My first one is called SmoothRed. It started off modifying a theme of some pink userstyle for Facebook after looking for a red theme. I realized that modifying this style was going to be more of a pain in the ass than to just completely make my own theme. So that is what I did.

It seems like it is getting more popular (close to 7000 installs since it's debut). Not quite a popular as some themes but more popular that most themes.

Find it here: http://userstyles.org/styles/52576/smoothred-for-facebook

23
Miscellaneous / Public Apology
« on: September 06, 2011, 10:03:02 pm »
I would like to apologize to the community about what happened on the night of 5 September.
I made some comments that were not meant to offend or harm anyone. They were simply meant to explain why I did something in an assignment I shared, hoping to get constructive criticism.  I did get constructive criticism, but I explained why I did what I did in the assignment. I understand that I did go over the line when saying I don't give a "flying fuck", and I realize now I should not have said it like that, or at all.
I tried to stop the situation by going any further by saying that I wanted to stop because I had strong views on the subject and I didn't want it to turn into something bad like we all know what happened not so long ago. Sadly it was too late for that, even though then and looking through the logs afterward it really didn't seem like it.
I'd also like to apologize to DJ_O, the sarcastic comments I posted when you were yelling on IRC weren't really supposed to be sarcastic at all, I really and truly thought you were joking. I hope you realize I really didn't want or mean to offend anyone with what I said.
I'd also like to apologize about the “ragequit” post. As you can imagine I was mad, and really should not have said it like that.
Overall, to the whole Omnimaga community, I'd like to apologize. You don't have to welcome me back with open arms, all I ask is please take this apology to heart and know I didn't mean to offend anyone by my actions. I would like to try to earn my respect back from all of you. I know it will take time, and effort on my part, and hopefully this is the first step in my regaining your trust and respect.

24
Computer Programming / NoneType!? Function "transall" causes it, why?
« on: August 30, 2011, 12:31:16 am »
xchat.emit_print problem? I don't know!

Postby XVicarious » 31 Aug 2011 16:28
Okay I have been writing a script in Python for XChat over the past few days... I have gotten everything to work through trial and error, except one thing, replacing incoming text. That just seems to not want to work!

My script is as follows:
Code: [Select]
__module_name__ = "XTranzlator"
__module_version__ = "0.7.0"
__module_description__ = "Translate and Send!"

print "\0034",__module_name__, __module_version__, "has been loaded\003"

import xchat
import re, sys, urllib, traceback, codecs, json

if (sys.getdefaultencoding() != "utf-8"):
oldout, olderr = sys.stdout, sys.stderr
reload(sys)
sys.setdefaultencoding('utf-8')
sys.stdout = codecs.getwriter('utf-8')(oldout)
sys.stderr = codecs.getwriter('utf-8')(olderr)

api_url = "http://api.microsofttranslator.com/V2/Ajax.svc/Translate"
app_id = 'myappidgoeshere'

def _unicode_urlencode(params):
    """
A unicode aware version of urllib.urlencode.
Borrowed from pyfacebook :: http://github.com/sciyoshi/pyfacebook/
"""
    if isinstance(params, dict):
        params = params.items()
    return urllib.urlencode([(k, isinstance(v, unicode) and v.encode('utf-8') or v) for k, v in params])

def _run_query(args):
"""
takes arguments and optional language argument and runs query on server
"""
data = _unicode_urlencode(args)
sock = urllib.urlopen(api_url + '?' + data)
result = sock.read()
if result.startswith(codecs.BOM_UTF8):
result = result.lstrip(codecs.BOM_UTF8).decode('utf-8')
elif result.startswith(codecs.BOM_UTF16_LE):
result = result.lstrip(codecs.BOM_UTF16_LE).decode('utf-16-le')
elif result.startswith(codecs.BOM_UTF16_BE):
result = result.lstrip(codecs.BOM_UTF16_BE).decode('utf-16-be')
print result
return json.loads(result)

def set_app_id(new_app_id):
global app_id
app_id = new_app_id

def translate(text, source, target, html=False):
"""
action=opensearch
"""
if not app_id:
raise ValueError("AppId needs to be set by set_app_id")
query_args = {
'appId': app_id,
'text': text,
'from': source,
'to': target,
'contentType': 'text/plain' if not html else 'text/html',
'category': 'general'
}
return _run_query(query_args)

def intercept(word, word_eol, userdata):
line = word_eol[0]
line = translate(line, myLang, theirLang)
xchat.command(" ".join(["msg", xchat.get_info("channel"), line]))
return xchat.EAT_ALL

def transall(word, word_eol, userdata):
line = translate(word[1], theirLang, myLang)
xchat.emit_print("Channel Message", word[0], line, "@", None)
return xchat.EAT_XCHAT

def lang_cmd(word, word_eol, userdata):
global myhook
global myLang
global theirLang
bold = "\033[1m"
stop = "\003[0;0m"
if word[1] == "off":
xchat.unhook(interceptHook)
xchat.unhook(printHook)
print "\0034XTranzlator is now off, to turn on, type /LANG on\003"
if word[1] == "on":
myLang = "en"
theirLang = "fr"
print "\0034The langauges have been set to default values (myLang = \"en\" and theirLang = \"fr\"!\003"
interceptHook = xchat.hook_command("",intercept)
printHook = xchat.hook_print("Channel Message", transall)
print "\0034XTranzlator is now on, to turn off, type /LANG off\003"
if word[1] == "my":
if len(word[2]) < 2:
print "\0034Sorry, that isn't a vaild 2 letter language code!\003"
else:
myLang = word[2]
print "\0034Your langauge is now ", myLang, "\003"
if word[1] == "their":
if len(word[2]) < 2:
print "\0034Sorry, that isn't a vaild 2 letter language code!\003"
else:
theirLang = word[2]
print "\0034You are now speaking in ", theirLang, "\003"
if word[1] == "supported":
print " \002ar\002  Arabic \n \002cs\002  Czech\n \002da\002  Danish\n \002de\002  German \n \002en\002  English \n \002et\002  Estonian \n \002fi\002  Finnish \n \002fr\002  French \n \002nl\002  Dutch \n \002el\002  Greek \n \002he\002  Hebrew \n \002ht\002  Haitian Creole \n \002hu\002  Hungarian \n \002id\002  Indonesian \n \002it\002  Italian \n \002ja\002 Japanese \n \002ko\002  Korean \n \002lt\002  Lithuanian \n \002lv\002  Latvian \n \002no\002  Norwegian \n \002pl\002  Polish \n \002pt\002  Portuguese \n \002ro\002  Romanian \n \002es\002  Spanish \n \002ru\002  Russian \n \002sk\002  Slovak \n \002sl\002  Slovene \n \002sv\002  Swedish \n \002th\002  Thai \n \002tr\002  Turkish \n \002uk\002  Ukrainian \n \002vi\002  Vietnamese \n \002zh-CHS\002  Simplified Chinese \n \002zh-CHT\002  Traditional Chinese"
return xchat.EAT_ALL


xchat.hook_command("LANG", lang_cmd, help="/LANG <my/their> <lang> Changes your langauge (my) to <lang> or their langauge (their) to <lang>")

I have traced it back to the transall function, but I can not seem to figure out what is wrong.  That one piece of code crashes XChat when someone else says something.  Please please help me :(.

edit: got it not to crash, but line seems to not get run through translate... And I get a traceback "TypeError: must be string, not None"

25
Computer Projects and Ideas / XTranzlator
« on: August 29, 2011, 11:08:41 pm »
NOTE: You need a Bing App ID, I am not going to provide mine so they don't think I'm just spamming it.

XTranzlator is a translation plugin for XChat.  It is written in Python, and its pretty neat (well I made it... So I think its neat).

XTranzlator translates the message you send, into another language.  For example if you are on #omnimaga-fr, and you send a message with my plugin, your message gets translated automatically to French.

The plugin uses Bing Translate API, and BingTrans.  For now please install BingTrans from https://github.com/bahn/bingtrans in the future there will be another version that has the API in it, but for now there isn't.  This gives people to install BingTrans to see what they can do with it in their own projects!

The plugin is here: http://xvicario.us/getfile.php?file=XTranzlator.py


EDIT: Google API giving me problems because Google made it pay only, those greedy bastards. Switched to BingAPI

26
Okay. So some of you know my program BNDSRM that helps you manage ROMs and stuff. So I have been planning on changing the listboxes to DataGridViews so I can have information in multiple columns. I have an idea how I am going to set it up and how I was going to fill the boxes and stuff, but its like an information overload kinda thing. I can see how I am going to do it, but I just stop and am like... How... How... I don't know.

I am using Visual Basic .NET I started this program in it and I am planning to finish it all the way until v1.0.0 in VB.NET and then rewrite it in C# .NET.

I need help with taking information and filling the DataGridView (4 columns), with the number of the ROM, the Name (of the file minus extension), the size, and the type of file it is (taken from the extension). I have For loop setup to list files in a listbox, looking at it, it looked like I could reuse most of the code but I just gave up after stalling (I have a tendency to do that).

Here is my function for listing the files:
Code: [Select]
    Private Sub ListFiles(ByVal folderPath As String, ByVal exten() As String)
        ListBox1.Items.Clear()
        For Each fileEX As String In exten
            Dim fileNames = My.Computer.FileSystem.GetFiles(folderPath, FileIO.SearchOption.SearchTopLevelOnly, fileEX)
            For Each filename As String In fileNames
                Dim inSlash As Long
                Dim arry = 0
                inSlash = InStrRev(filename, "\")
                filename = Mid(filename, inSlash + 1)
                ListBox1.Items.Add(filename)
                Dim array(0 To 9999) As String
                array(arry) = filename
                arry += 1
            Next
        Next
    End Sub

If you need more info, please ask.

27
OmnomIRC Development / Private Messages Cleared
« on: July 19, 2011, 10:12:24 pm »
In Omnom, when you switch channel tabs the PMs between users clear.  And possibly making a PM tab persistent until you log out or go somewhere other than Omni, intsead of the tab closing when you switch pages on the forums.

28
Miscellaneous / The Food Thread
« on: July 12, 2011, 03:38:22 pm »
Okay. Post pics of food you have made and taken. Ill go first mac and cheese with hot dogs
http://imageshack.us/photo/my-images/593/imageeub.jpg/

29
Web Programming and Design / XVic.tk URL Shortener and Pastebin
« on: July 08, 2011, 09:13:49 pm »
Come one, come all.  All of you Omnimaga people, I know you love your Pastebin and URL Shorteners.
Well I have a website created specifically for you guys. xvic.tk. XVic.tk is both a URL Shortener and a pastebin. You can access the shortener from http://www.xvic.tk/ and the pastebin from http://www.xvic.tk/paste/. I hope you guys like these services I am providing, because I did it just for you. Even if you don't use it, well... It'll be there.

XVic.tk
XVic.tk/paste/

And do me a favor, and visit my website! +1 me so I can get some traffic on Google!
XVicarious.tk

30
TI Z80 / Rott RPG Engine
« on: July 02, 2011, 12:02:00 am »
As some of you may know, I have been working on an RPG engine in Axe, which will be completely open sourced.  It is ASCII based. I started this engine because 1) I always wanted to do a text-based RPG, and 2) Inspired by DJ_O's Illusiat 6 (and above).

The Rott RPG Engine has the following features planned (suggest more!):
-- Loading of "chapters" from appvars, chapters include maps and strings. And other stuff that I haven't exactly thought of
-- Loading of resources from the external appvar appvROTTDATA. appvROTTDATA includes resources that are constant throughout all of the chapters, such as text sprites, leveling, enemies, and items
-- Menu screen, including items, stats, possibly a map showing your area (just a lit up pixel on a grid).
-- Normal RPG stuff, MAYBE magic. If I have time before the end of summer magic is a must!
-- Levels, but not levels.  You gain EXP but you don't have a level number. You simply get skill points which you put towards skills (Attack, Defence, Quickness, Health Points, and Mana Points). You start off with 2 attack, 1 defence, and the minimum Quickness (actually I think I called it Swiftness in my notes) of 5. No enemy will have below a 5 Quickness just so battles don't take forever.

Stats For Engine
Spoiler For Spoiler:
Attack
Defense
Swiftness
Health Points
Mana Points

Items Planned for Engine
Spoiler For Spoiler:
Consumable Items
Spoiler For Spoiler:
Minor Health Potion
Health Potion
Major Health Potion
Minor Mana Potion
Mana Potion
Major Mana Potion
Scroll of Last Chances
Skill Book
Fruit
Equip-able Items
Spoiler For Spoiler:
Short Sword
Great Sword
King's Sword (or Sword of Kings?)
Leather Armour
Iron Armour
Steel Armour
Wooden Bow
Great Bow
Yew Bow
Magic Staff
Accursed Staff
Staff of Zed (or Zed's Staff?)
Spike Ring
Freeze Ring
Lite Ring

Mockup of Battle Screen
Spoiler For Spoiler:
Code: [Select]
****************
*HP          HP*
*  g        1  *
*              *
****************
*  ATK    ITM  *
*  MAG    RUN  *
****************

Current Bestiary
Spoiler For Spoiler:
Code: [Select]
G  --  Goblin
g  --   Little Goblin
i  --  Imp
R  --  Rouge
S  --  Veteran Soldier
s  --  Novice Soldier

Current Files in RoTTRPG Engine:
Spoiler For Spoiler:
ROTTDMO:
Spoiler For Spoiler:
The main file for the program, the one you compile.  Contains some drawing routines for the player and menu cursors.
ROTTDATA:
Spoiler For Spoiler:
Temporary program to store data for the engine in, will be replaced by an appvar in the future.
ROTTROUT:
Spoiler For Spoiler:
Routines for the game. They are as follows (in no particular order, and not a complete list as of now calculator is acting up):
Code: [Select]
DwMap()  --  draws the map
DwHud()  --  draws the hud
DtCol()  --  collision detection
DwDat()  --  draws the hud data
CMP()  --  clears the map area, the 10x8 area on the left.  Will be renamed to ClrMP().
SlMnu()  --  (I think I got the name right) the selection for the menu
SlSav()  --  need to rewrite, got cleared and it was quite a bitch to write.  Selects the items in the "SAV" part of the menu.
DwMnu()  --  draws the menu
DwInf()  --  draws the "IFO" page of the menu
DwSav()  --  draws the "SAV" part of the menu
ROTTROUX
Spoiler For Spoiler:
Contains yet more routines for the engine, they are as follows:
Code: [Select]
DwBtl()  --  draws the battle screen
SlBtl()  --  selects the menu items on the battle screen

This is programmed with Axe Parser and I started coding on the calc, then moved to tiDE, and now am using TokenIDE, while tiDE solves some issues, because it doesn't even convert the Axe to a source *.8xp yet. But whatever. I hope to do this on my own, so no team. I will probably be asking for help with somethings, and it might take awhile due to my lack of concentration and the attention span of a dog...



Please tell me what you think! Code here: http://xvicario.us/git/rott-rpg.git
Code: [Select]
git clone http://xvicario.us/git/rott-rpg.git
It says other open source license, but I may change it. I kinda wrote one of my own. I might just add an SVN repo to my website for simplicity, and kill the project on Google Code. Nothing too impressive right now.

Suggesting are always welcome! I might not add something right away or at all, but after I finish the initial engine and finish the game I am making this for, I probably will be adding most of the suggestions to the engine!

Pages: 1 [2] 3