Argomirr Posted June 3, 2010 Share Posted June 3, 2010 Pronam thinks this is worth posting - I doubt anyone would want such a thing, but I guess it's kinda funny, so why not. :tongue: I've recently started learning Python, and when I had one of those "OMG I'm so bored outta my mind"-moments I came up with a ridiculous idea: updating your Twitter page from Oblivion. A small script and a small Python program later, this pointless thing was born.http://img408.imageshack.us/img408/8132/twitblivioningame.jpghttp://img413.imageshack.us/img413/2769/twitblivionclient.jpghttp://img411.imageshack.us/img411/1636/twitbliviontweet.jpg Since there's no real way to have Oblivion scripts communicate with external programs, I used ConScribe's logs. ConScribe puts everything that's entered in the console into a log which can be accessed easily. (Could have been done with Pluggy as well, but this is much easier.) I wrote a little script that outputs data in the console, and a Python program that checks that log every once in a while and updates your Twitter profile. It sounds pretty unreliable, but it seems to work really well - which I really hadn't expected. This was made with only one purpose - to get a tweet out of Oblivion, so you can imagine it lacks a proper user interface. But hey, this is Twitter for Oblivion! :teehee: If anyone wants to try this for themselves, down here is all you need. Instructions are inside. Be warned: this is not user friendly at all and it has a lot of requirements. :turned: Link to comment Share on other sites More sharing options...
martinthemage Posted June 3, 2010 Share Posted June 3, 2010 wow, that would be cool! (but i don't use twitter :sad: )I wonder if that could work with the Nexus Forum's chatroom? Link to comment Share on other sites More sharing options...
Argomirr Posted June 3, 2010 Author Share Posted June 3, 2010 I don't know. It'd certainly be a lot harder to do that. Link to comment Share on other sites More sharing options...
Pronam Posted June 7, 2010 Share Posted June 7, 2010 Totally missed this one. It would be horrible to implement it into the nexus chat as it's all javascript. I'm not sure what, but isn't the Journal Kyoma using some sore of input via XML? (It's a shame I downloaded it for over 5 times but never played it :P.) I'll (finally) look into that mod later...(I have to deal with something else first. :dry:)If that won't work. I'll see if it's possible to re-route it via adobe air. (less troublesome to implement/horrible to create.) Link to comment Share on other sites More sharing options...
alex2avs Posted June 7, 2010 Share Posted June 7, 2010 Awesome , Argomirr , AWESOME ! I might start using twitter just for this :rofl: Link to comment Share on other sites More sharing options...
Argomirr Posted June 7, 2010 Author Share Posted June 7, 2010 Yeah, I had a look at the journal mod, but I haven't figured out how it's done there yet. Originally I tried using the example from the OBSE docs, but that didn't do anything at all. Though making an in game text input system myself wouldn't be very hard, it's a long and boring job. :tongue: [EDIT]lol Thanks, Alex! Link to comment Share on other sites More sharing options...
LHammonds Posted June 8, 2010 Share Posted June 8, 2010 Actually, I could see this as a VERY cool mod. One in which a log is created based on how close you get to a marker, it throws out a pre-defined message to the log so that you don't even have to do anything...it simply updates twitter as you move around in the world. Maybe even post updates to how far along in the main quest you are. The script would need to output something unique like "TWITME" as a pre-fix to what you want to be placed in the log. Then the php script could grab everything in the log that is pre-fixed with "TWITME", and output just the line (without the TWITME prefix). Example: Oblivion: Vralen Averos now entering Bravil.Oblivion: Vralen Averos now leaving Bravil.Oblivion: Vralen Averos entering combat.Oblivion: Vralen Averos exiting combat...killed 3 enemies.Oblivion: Vralen Averos found Fort GriefOblivion: Vralen Averos has entered an Oblivion Gate. Link to comment Share on other sites More sharing options...
Slawter500 Posted June 8, 2010 Share Posted June 8, 2010 Argomirr. Epic. Nice one. I'm actually going to use this. P.S I love the last update "Hey guys, I'm in chorrol right now." Link to comment Share on other sites More sharing options...
Argomirr Posted June 8, 2010 Author Share Posted June 8, 2010 Actually, I could see this as a VERY cool mod. One in which a log is created based on how close you get to a marker, it throws out a pre-defined message to the log so that you don't even have to do anything...it simply updates twitter as you move around in the world. Maybe even post updates to how far along in the main quest you are. The script would need to output something unique like "TWITME" as a pre-fix to what you want to be placed in the log. Then the php script could grab everything in the log that is pre-fixed with "TWITME", and output just the line (without the TWITME prefix). Example: Oblivion: Vralen Averos now entering Bravil.Oblivion: Vralen Averos now leaving Bravil.Oblivion: Vralen Averos entering combat.Oblivion: Vralen Averos exiting combat...killed 3 enemies.Oblivion: Vralen Averos found Fort GriefOblivion: Vralen Averos has entered an Oblivion Gate.That's a pretty cool idea. This is more or less a proof of concept, but there are a lot of possibilities. "Oblivion: Vralen Averos was devoured by zombies." :tongue: One problem with that would that Twitter imposes a limit on API usage. If you play for a couple hours straight and do loots of stuff you may hit that limit - but I don't think it's likely. (It's 20,000 interactions/hour IIRC?) I did try to make a proper text input prompt for use in game, but I haven't gotten around to getting that to work yet. Link to comment Share on other sites More sharing options...
Dark0ne Posted June 8, 2010 Share Posted June 8, 2010 Actually, I could see this as a VERY cool mod. One in which a log is created based on how close you get to a marker, it throws out a pre-defined message to the log so that you don't even have to do anything...it simply updates twitter as you move around in the world. Maybe even post updates to how far along in the main quest you are. The script would need to output something unique like "TWITME" as a pre-fix to what you want to be placed in the log. Then the php script could grab everything in the log that is pre-fixed with "TWITME", and output just the line (without the TWITME prefix). Example: Oblivion: Vralen Averos now entering Bravil.Oblivion: Vralen Averos now leaving Bravil.Oblivion: Vralen Averos entering combat.Oblivion: Vralen Averos exiting combat...killed 3 enemies.Oblivion: Vralen Averos found Fort GriefOblivion: Vralen Averos has entered an Oblivion Gate. Better yet you could make an interactive map of Oblivion on a website and pull the locations where people are on Twitter to signal how many people are in a city at any one time. Cyrodiil; 125 playersBravil; 47 playersAnvil; 57 players...and so on Now that would be even cooler :) Link to comment Share on other sites More sharing options...
Recommended Posts