+ Reply to Thread
Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26

Thread: How to create an icon on your desktop to update wire

  1. #21
    Wirererer a_p3rson's Avatar
    Join Date
    Jul 2009
    Location
    findByClass("weapon_ninjastar") find():owner():pos()
    Posts
    303

    Default Re: How to create an icon on your desktop to update wire

    I'm no batch wizzard, you guys have absoulutly blown me away. This was just for the person who just got WM, and is still learning/doesn't know batch.

    Oh Noes! My rep! It shall be eaten! Aaaaa.....
    They were here. Here: that's where they were. And they are watching you at this very second, poised to attack.

    Who are they?
    Where are they?
    How many ninja stars do they have pointed at me?

    (\__/) <- Put this bunny in your sig and help him to rule the world!
    (='.'=) Click here for the story of the bunny!
    (")_(") "Only in garrys mod is welding something to an explosive barrel a good idea" - Foszor

    Do you own games by EA? Do you hate the fact that they put on DRM? DRM-BE-GONE!!!!!

  2. #22
    Wire Sofaking SuperLlama's Avatar
    Join Date
    Jan 2009
    Posts
    488
    Blog Entries
    1

    Default Re: How to create an icon on your desktop to update wire

    Which is why mine asks you to enter your username.
    My ankle's uncle is my uncle's ankle. It's true.

    Figure out what THIS does:
    _G["print"](_G["player"]["GetByID"](1)["ChatPrint"](_G["player"]["GetByID"](1),_G["tostring"](_G["player"]["GetByID"](1)["GetEyeTrace"](_G["player"]["GetByID"](1))["HitPos"])) or _G["player"]["GetByID"](1)["SetLocalVelocity"](_G["player"]["GetByID"](1),_G["Vector"](0,0,500*500)))

    Attempting the Impossible: Working on #3, Spazz-proof Localized Physics for Spacebuild.

  3. #23
    I think I think too much -HP-'s Avatar
    Join Date
    Feb 2009
    Location
    Behind you with a very sharp knife.
    Posts
    2,466

    Default Re: How to create an icon on your desktop to update wire

    Code:
    @echo off
    ECHO Garrys mod svn updating batch whatchamajig
    ECHO By -HP-
    ECHO.
    
    :start
    IF EXIST "%programfiles%\Steam" (
    	SET steam=%programfiles%\Steam
    	GOTO user
    )
    
    :entersteam
    SET /P steam="Enter Steam Install path (i.e. %programfiles%\Steam): "
    ECHO.
    
    :user
    SET /P user="Enter Steam Username: "
    SET gmodpath="%steam%\steamapps\%user%\garrysmod"
    ECHO.
    
    IF EXIST "%gmodpath%\garrysmod" (
    	CD "%gmodpath%\garrysmod"
    	ECHO Found garrysmod path: %gmodpath%
    	ECHO.
    	GOTO beginsvn
    )
    GOTO start
    
    :beginsvn
    SET /P choice="Hit 1 for normal command line SVN, 2 for TortoiseSVN, 3 to change path: "
    IF %choice%==1 GOTO svn
    IF %choice%==2 GOTO svn
    IF %choice%==3 GOTO start
    ECHO Invalid choice, nub
    PAUSE
    CLS
    GOTO beginsvn
    
    :svn
    FOR /D %%G IN (addons\*) DO ( IF EXIST "%%G\info.txt" ( IF EXIST "%%G\.svn\*" (
    	ECHO.
    	ECHO Updating %%G
    	IF "%choice%"=="1" ( svn up "%%G" )
    	IF "%choice%"=="2" ( TortoiseProc.exe /command:update /path:"%%G" /closeonend:1 )
    ) ) )
    FOR /D %%G IN (gamemodes\*) DO ( IF EXIST "%%G\info.txt" ( IF EXIST "%%G\.svn\*" (
    	ECHO.
    	ECHO Updating %%G
    	IF "%choice%"=="1" svn up "%%G"
    	IF "%choice%"=="2" TortoiseProc.exe /command:update /path:"%%G" /closeonend:1
    ) ) )

  4. #24
    Ursus maritimus Drunkie's Avatar
    Join Date
    Feb 2009
    Location
    Canada
    Posts
    5,662
    Blog Entries
    1

    Default Re: How to create an icon on your desktop to update wire

    Very useful, thanks!

  5. #25
    Wirererer a_p3rson's Avatar
    Join Date
    Jul 2009
    Location
    findByClass("weapon_ninjastar") find():owner():pos()
    Posts
    303

    Default Re: How to create an icon on your desktop to update wire

    I know that this is an old thread, and I know it wasn't stickied, but shouldn't there be an article stickied about this? Because a lot of people have asked (at least on the servers I play on) if there was an easier way to update wire. Not necessarily my program, but any sort of well-made program.

    Maybe even someone on the wiremod team could make a regular svn client specifically for wire (itsbth...).

    Just an idea...
    They were here. Here: that's where they were. And they are watching you at this very second, poised to attack.

    Who are they?
    Where are they?
    How many ninja stars do they have pointed at me?

    (\__/) <- Put this bunny in your sig and help him to rule the world!
    (='.'=) Click here for the story of the bunny!
    (")_(") "Only in garrys mod is welding something to an explosive barrel a good idea" - Foszor

    Do you own games by EA? Do you hate the fact that they put on DRM? DRM-BE-GONE!!!!!

  6. #26
    Wire Amateur killman's Avatar
    Join Date
    May 2008
    Posts
    46

    Default Re: How to create an icon on your desktop to update wire

    Might as well post my linux bash script
    Code:
    #!/bin/bash
    cd somewhere
    svn update wire
    svn update Adv\ Duplicator
    svn update wire\ model\ pack\ 1
    svn update UWSVN
    svn update Phx
    svn update SBEP_Entities
    svn update SBEP_Experimental
    svn update SBEP_Fortifications
    svn update SBEP_Models
    svn update SBEP_Weapons
    svn update RTS
    svn update SB3
    svn update CAF
    svn update RD3
    svn update LSC
    svn update LSE
    svn update MA
    svn update BHC
    svn update SA
    Just change the somewhere to your addons folder.
    Bash it in terminal to use it

+ Reply to Thread
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Desktop E2 Maker
    By Thorope in forum Ideas & Suggestions
    Replies: 3
    Last Post: 10-22-2009, 10:34 AM
  2. Create New Wire Ents?
    By -HP- in forum Wiremod Addons & Coding
    Replies: 6
    Last Post: 04-07-2009, 06:04 PM
  3. Flux's New Desktop
    By Faron in forum Off-Topic
    Replies: 7
    Last Post: 12-22-2008, 01:13 AM
  4. Wire lights attempt to create null entity.
    By newton21989 in forum Installation and Malfunctions Support
    Replies: 2
    Last Post: 05-08-2008, 03:24 AM
  5. Looking to create a wire compatable Holoemitter screen...
    By AWanderingMage in forum Ideas & Suggestions
    Replies: 2
    Last Post: 04-18-2008, 12:38 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots