Go Back   Wiremod Forums > Wiremod > Wiremod General Chat

Wiremod General Chat All general wiremod discussion/chat.

Reply
 
LinkBack (2) Thread Tools Display Modes
Old 08-09-2008   #191 (permalink)
<3

 
IEF015's Avatar
 

Join Date: Feb 2008
Location: London, ON (Canada, eh?)
Posts: 765
IEF015 has a spectacular aura aboutIEF015 has a spectacular aura about
Default Re: WireSim- The Scriptable WireMod Simulator

Don't kill yourself by coding too much.
I made the CPU mainly for large input/ouput amounts. (Or just incase someone decides to make the Expression/CPU gate XD )

Also, I'm making more pictures for my next pack (Which is mainly "Selection" gates). So, if I were going to make a Router chip, I don't think a Adding chip would be appropriate. So, I'll make a good Router picture. :P
__________________
Signature:
WIREMOD WILL NOT WORK ON A PIRATED GMOD!


MY COLOUR IS BLUE.
Post your expressions here: www.wiredexpressions.tk
It's my favourite country song. And I hate it.
IEF015's got his own website :3
IEF015 is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 08-09-2008   #192 (permalink)
cpf
Advanced Member
 
cpf's Avatar
 

Join Date: Nov 2007
Posts: 396
cpf is on a distinguished road
Send a message via MSN to cpf Send a message via Skype™ to cpf
Default Re: WireSim- The Scriptable WireMod Simulator

What?! I thought death by overcoding was the leading cause of mortality among young programmers!

Anyways, sounds interesting
__________________
WireSim.com
Why does everybody say CPF? it's cpf :P
Hey, look! It's a tutorial on using LuaInterface!
cpf is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-09-2008   #193 (permalink)
cpf
Advanced Member
 
cpf's Avatar
 

Join Date: Nov 2007
Posts: 396
cpf is on a distinguished road
Send a message via MSN to cpf Send a message via Skype™ to cpf
Default Re: WireSim- The Scriptable WireMod Simulator

OK, looks like my host has a dumb policy involving not allowing hosting of .EXEs. This means that I'll have to pull the Launcher.exe download, though due to some file extension fiddling, you'll still be able to use WS until I get this sorted. I'll attach the launcher to the main post, too.

Ok, got that under control
__________________
WireSim.com
Why does everybody say CPF? it's cpf :P
Hey, look! It's a tutorial on using LuaInterface!

Last edited by cpf; 08-09-2008 at 07:04 PM..
cpf is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-09-2008   #194 (permalink)
<3

 
IEF015's Avatar
 

Join Date: Feb 2008
Location: London, ON (Canada, eh?)
Posts: 765
IEF015 has a spectacular aura aboutIEF015 has a spectacular aura about
Default Re: WireSim- The Scriptable WireMod Simulator

OK. I'm having trouble with a Min/Max gate. Here's the code:
Code:
val=2
maxv=true
a=0
b=0
c=0
d=0
function buildSettingsDiag()
Settings:addnumberinput("Values",2,4,2)
Settings:addboolinput("Min/Max Off=Min",false)
Settings:finalize()
Sys:log("Rebuilt settings diag")
end
function init()
Ent:setpic("Addons/Default/images/add.png")
Ent:setOutputs("Out")
buildSettingsDiag()
Settings:show()
end
function initFromSave()
buildSettingsDiag()
end
function triggerInput(input,value)
  if input=="A" then
    a=value
  elseif input=="B" then
    b=value
  elseif input=="C" then
    c=value
  elseif input=="D" then
    d=value
  end
  if (val=="2.00") then
    if (maxv==false) then
      Ent:triggerOutput("Out",min(a,b))
    else
      Ent:triggerOutput("Out",max(a,b))
    end
  end
  if (val=="3.00") then
    if (maxv==false) then
      Ent:triggerOutput("Out",min(a,b,c))
    else
      Ent:triggerOutput("Out",max(a,b,c))
    end
  end
  if (val=="4.00") then
    if (maxv==false) then
      Ent:triggerOutput("Out",min(a,b,c,d))
    else
      Ent:triggerOutput("Out",max(a,b,c,d))
    end
  end
end
function settingsUpdated()
  val=Settings:getnumber("Values")
  maxv=Settings:getbool("Min/Max Off=Min")
  if (maxv==true) then
 Ent:setToolTip("Max Chip".."\n".."Values: "..val)
  else
 Ent:setToolTip("Min Chip".."\n".."Values: "..val)
  end
  if (val=="2.00") then
    Ent:setInputs("A,B")
  elseif (val=="3.00") then
    Ent:setInputs("A,B,C")
  elseif (val=="4.00") then
    Ent:setInputs("A,B,C,D")
  end
end
What happens, is when I spawn the gate, the Diag.Settings window shows, configure, click OK.
Now, it spawns ok, no errors in the console, but when I click on a chip with an output, click on the Min/Max, there is no context menu than shows up with the inputs and stuff. Any errors?
And yes, this is part of my fifth pack. Since no-one is doing anything.
__________________
Signature:
WIREMOD WILL NOT WORK ON A PIRATED GMOD!


MY COLOUR IS BLUE.
Post your expressions here: www.wiredexpressions.tk
It's my favourite country song. And I hate it.
IEF015's got his own website :3
IEF015 is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2008   #195 (permalink)
cpf
Advanced Member
 
cpf's Avatar
 

Join Date: Nov 2007
Posts: 396
cpf is on a distinguished road
Send a message via MSN to cpf Send a message via Skype™ to cpf
Default Re: WireSim- The Scriptable WireMod Simulator

Yay, gonna be home in 2 days

I'll look @ that...
__________________
WireSim.com
Why does everybody say CPF? it's cpf :P
Hey, look! It's a tutorial on using LuaInterface!
cpf is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-13-2008   #196 (permalink)
Member
 
poab9200's Avatar
 

Join Date: Feb 2008
Posts: 32
poab9200 is on a distinguished road
Send a message via AIM to poab9200 Send a message via Yahoo to poab9200
Default Re: WireSim- The Scriptable WireMod Simulator

Quote:
Originally Posted by IEF015 View Post
OK. I'm having trouble with a Min/Max gate. Here's the code:

What happens, is when I spawn the gate, the Diag.Settings window shows, configure, click OK.
Now, it spawns ok, no errors in the console, but when I click on a chip with an output, click on the Min/Max, there is no context menu than shows up with the inputs and stuff. Any errors?
And yes, this is part of my fifth pack. Since no-one is doing anything.
Well IEF105 i would help and make stuff but...

1. CPF hasnt made it vista compatable... yeah i know it sucks but im too lazy to install xp
2. too lazy to try and learn lua...
poab9200 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-13-2008   #197 (permalink)
cpf
Advanced Member
 
cpf's Avatar
 

Join Date: Nov 2007
Posts: 396
cpf is on a distinguished road
Send a message via MSN to cpf Send a message via Skype™ to cpf
Default Re: WireSim- The Scriptable WireMod Simulator

Viiiiiista compatibility, it's back to haaaaunt me :P
__________________
WireSim.com
Why does everybody say CPF? it's cpf :P
Hey, look! It's a tutorial on using LuaInterface!
cpf is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-14-2008   #198 (permalink)
Advanced Member
 
moogle_man's Avatar
 

Join Date: Jul 2008
Location: Gumdrop LN, Candy Land
Posts: 141
moogle_man is on a distinguished road
Default Re: WireSim- The Scriptable WireMod Simulator

Lol vista sux, anyway whenever I open the launcher I just get one of those "please tell microsoft about this problem so we can ignore you" things, what do I do?
__________________
92% of teens have moved onto rap. If you are part of the 8% that still listen to real music, copy and paste this into your signature.
My IQ is 153 - Free-IQTest.net - Free IQ Test
moogle_man- He keeps the USA running! The clever way...
moogle_man is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-14-2008   #199 (permalink)
Member
 
poab9200's Avatar
 

Join Date: Feb 2008
Posts: 32
poab9200 is on a distinguished road
Send a message via AIM to poab9200 Send a message via Yahoo to poab9200
Default Re: WireSim- The Scriptable WireMod Simulator

Yeah, thats the issue that i get with vista, im pretty sure its a simple fix when cpf gets home... from vacation...
poab9200 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-14-2008   #200 (permalink)
cpf
Advanced Member
 
cpf's Avatar
 

Join Date: Nov 2007
Posts: 396
cpf is on a distinguished road
Send a message via MSN to cpf Send a message via Skype™ to cpf
Default Re: WireSim- The Scriptable WireMod Simulator

I'm home, however I'm preoccupied with plotting the murder of the top execs at my ISP, and getting my new comp working (using same hdd, so I have all the data)


Nowww, If I could make people pay for some feature of wiresim, I could be more inspired to put out updates for everyone... But then noone would use it because they wouldn't cough up the required $9.95...
__________________
WireSim.com
Why does everybody say CPF? it's cpf :P
Hey, look! It's a tutorial on using LuaInterface!

Last edited by cpf; 08-14-2008 at 02:20 PM..
cpf is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.wiremod.com/forum/wiremod-general-chat/5263-wiresim-scriptable-wiremod-simulator.html
Posted By For Type Date
cpfx.ca - My Work This thread Refback 07-06-2008 02:11 PM
Garry's Mod 2007: We can build it. We have the Orange Box technology - The Something Awful Forums This thread Refback 06-12-2008 06:22 AM


All times are GMT -7. The time now is 11:56 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.

Page top